Pkcs11Interop  4.0.0
Properties | List of all members
Net.Pkcs11Interop.Common.Platform Class Reference

Utility class for runtime platform detection More...

Properties

static bool Uses64BitRuntime [get]
 True if 64-bit runtime is used More...
 
static bool Uses32BitRuntime [get]
 True if 32-bit runtime is used More...
 
static bool IsWindows [get]
 True if runtime platform is Windows More...
 
static bool IsLinux [get]
 True if runtime platform is Linux More...
 
static bool IsMacOsX [get]
 True if runtime platform is Mac OS X More...
 
static int UnmanagedLongSize [get, set]
 Size of unmanaged long type. This property is used by HighLevelAPI to choose correct set of LowLevelAPIs. Value of this property can be changed if needed. More...
 
static int StructPackingSize [get, set]
 Controls the alignment of unmanaged struct fields. This property is used by HighLevelAPI to choose correct set of LowLevelAPIs. Value of this property can be changed if needed. More...
 

Detailed Description

Utility class for runtime platform detection

Property Documentation

bool Net.Pkcs11Interop.Common.Platform.IsLinux
staticget

True if runtime platform is Linux

bool Net.Pkcs11Interop.Common.Platform.IsMacOsX
staticget

True if runtime platform is Mac OS X

bool Net.Pkcs11Interop.Common.Platform.IsWindows
staticget

True if runtime platform is Windows

int Net.Pkcs11Interop.Common.Platform.StructPackingSize
staticgetset

Controls the alignment of unmanaged struct fields. This property is used by HighLevelAPI to choose correct set of LowLevelAPIs. Value of this property can be changed if needed.

int Net.Pkcs11Interop.Common.Platform.UnmanagedLongSize
staticgetset

Size of unmanaged long type. This property is used by HighLevelAPI to choose correct set of LowLevelAPIs. Value of this property can be changed if needed.

bool Net.Pkcs11Interop.Common.Platform.Uses32BitRuntime
staticget

True if 32-bit runtime is used

bool Net.Pkcs11Interop.Common.Platform.Uses64BitRuntime
staticget

True if 64-bit runtime is used


The documentation for this class was generated from the following file: