Pkcs11Interop  5.1.2
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 NativeULongSize [get, set]
 Size of native (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

◆ IsLinux

bool Net.Pkcs11Interop.Common.Platform.IsLinux
staticget

True if runtime platform is Linux

◆ IsMacOsX

bool Net.Pkcs11Interop.Common.Platform.IsMacOsX
staticget

True if runtime platform is Mac OS X

◆ IsWindows

bool Net.Pkcs11Interop.Common.Platform.IsWindows
staticget

True if runtime platform is Windows

◆ NativeULongSize

int Net.Pkcs11Interop.Common.Platform.NativeULongSize
staticgetset

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

◆ StructPackingSize

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.

◆ Uses32BitRuntime

bool Net.Pkcs11Interop.Common.Platform.Uses32BitRuntime
staticget

True if 32-bit runtime is used

◆ Uses64BitRuntime

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: