How to check whether the current process is a 64-bit process in VB.NET

1 Answer

0 votes
imports System

Public Class Program
    Public Shared Sub Main()
		Dim str As String = If (Environment.Is64BitProcess, "yes", "no")
			
		Console.WriteLine(str)
    End Sub
End Class

 
 
 
 
' run:
'
' yes
'

 



answered Nov 18, 2023 by avibootz
...