know the system

I want the codes for make my Project knows the system on which it's running.
Like :
Code:
'If windows 7 32bit then me.close
Have you any idea about this guys?

'If windows 7 32bit then me.close
If label1 = Windows 7 Then End
label1.text = computerver
Private OSName As String = My.Computer.Info.OSFullName Private OSVersion As String = My.Computer.Info.OSVersion