C# Class Ghostscript.NET.NativeLibraryHelper

Class that helps us to get various information about native libraries.
ファイルを表示 Open project: jhabjan/Ghostscript.NET Class Usage Examples

Public Methods

Method Description
GetImageFileMachineType ( Stream srm ) : ushort

Gets the image file machine type.

GetImageFileMachineType ( byte buffer ) : ushort

Gets the image file machine type.

GetImageFileMachineType ( string path ) : ushort

Gets the image file machine type.

Is64BitLibrary ( byte buffer ) : bool

Gets if native library is compiled as 64bit library.

Is64BitLibrary ( string path ) : bool

Gets if native library is compiled as 64bit library.

Private Methods

Method Description
Is64BitMachineValue ( ushort machine ) : bool

Gets if machine value represents 64 bit machine.

Method Details

GetImageFileMachineType() public static method

Gets the image file machine type.
public static GetImageFileMachineType ( Stream srm ) : ushort
srm Stream Stream representing native library.
return ushort

GetImageFileMachineType() public static method

Gets the image file machine type.
public static GetImageFileMachineType ( byte buffer ) : ushort
buffer byte Memory buffer representing native library.
return ushort

GetImageFileMachineType() public static method

Gets the image file machine type.
public static GetImageFileMachineType ( string path ) : ushort
path string Native library path.
return ushort

Is64BitLibrary() public static method

Gets if native library is compiled as 64bit library.
public static Is64BitLibrary ( byte buffer ) : bool
buffer byte Memory buffer representing native library.
return bool

Is64BitLibrary() public static method

Gets if native library is compiled as 64bit library.
public static Is64BitLibrary ( string path ) : bool
path string Native library path.
return bool