Using a console application, I did this:
vb.net Code:
Module Module1
Sub Main()
Select Case IntPtr.Size
Case "4"
Console.WriteLine("32-bit Platform Detected!")
Case "8"
Console.WriteLine("64-bit Platform Detected!")
Case Else
Console.WriteLine("No clue what architecture this is!")
End Select
System.Threading.Thread.Sleep(3000)
End Sub
End Module
I have a 64-bit OS and it wrote that it found a 64-bit. My friend has a 32-bit OS and it said it was a 32-Bit. I think we can say IntPtr is reliable as of this state (well at least on my two tests.)