C# 클래스 GSF.Common

Defines common global functions.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
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