You can check that your current application uses in 64 bit process or not.
In .NET Framework 4 there is one function Is64BitProcessis available to check that current application uses in 64 bit process or not.
This function available in Environment class of System namespace.
This function return true if process is 64 bit else return false.
Here is example :
This example is in both C# .Net Programming and VB.Net Programming.
C# Example :
VB.net Example :
This type of C# Tips is very useful in day to day programming life.
Note : Give Us your valuable feedback in comments. Give your suggestions in this article so we can update our articles accordingly that.
In .NET Framework 4 there is one function Is64BitProcessis available to check that current application uses in 64 bit process or not.
This function available in Environment class of System namespace.
This function return true if process is 64 bit else return false.
Here is example :
This example is in both C# .Net Programming and VB.Net Programming.
C# Example :
if (System.Environment.Is64BitProcess == true) { Response.Write("This is 64 Bit Process."); } else { Response.Write("This is not 64 Bit Process."); }
VB.net Example :
If System.Environment.Is64BitProcess = True Then Response.Write("This is 64 Bit Process.") Else Response.Write("This is not 64 Bit Process.") End If
This type of C# Tips is very useful in day to day programming life.
Note : Give Us your valuable feedback in comments. Give your suggestions in this article so we can update our articles accordingly that.
and for other process (not current?)
ReplyDelete