C# Класс GSF.Common

Defines common global functions.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetApplicationType ( ) : ApplicationType

Gets the type of the currently executing application.

GetAvailablePhysicalMemory ( ) : ulong

Gets the available physical system memory.

GetOSPlatformID ( ) : PlatformID

Gets the operating system PlatformID

This function will properly detect the platform ID, even if running on Mac.

GetOSProductName ( ) : string

Gets the operating system product name.

GetProcessMemory ( ) : long

Gets the memory usage by the current process.

GetTotalPhysicalMemory ( ) : ulong

Gets the total physical system memory.

Описание методов

GetApplicationType() публичный статический Метод

Gets the type of the currently executing application.
public static GetApplicationType ( ) : ApplicationType
Результат ApplicationType

GetAvailablePhysicalMemory() публичный статический Метод

Gets the available physical system memory.
public static GetAvailablePhysicalMemory ( ) : ulong
Результат ulong

GetOSPlatformID() публичный статический Метод

Gets the operating system PlatformID
This function will properly detect the platform ID, even if running on Mac.
public static GetOSPlatformID ( ) : PlatformID
Результат PlatformID

GetOSProductName() публичный статический Метод

Gets the operating system product name.
public static GetOSProductName ( ) : string
Результат string

GetProcessMemory() публичный статический Метод

Gets the memory usage by the current process.
public static GetProcessMemory ( ) : long
Результат long

GetTotalPhysicalMemory() публичный статический Метод

Gets the total physical system memory.
public static GetTotalPhysicalMemory ( ) : ulong
Результат ulong