C# 클래스 CSharpAnalytics.WindowsStoreSystemInformation

Obtain system information not conveniently exposed by WinRT APIs.
Microsoft doesn't really want you getting this information and makes it difficult. The techniques used here are not bullet proof but are good enough for analytics. Do not use these methods or techniques for anything more important than that.
파일 보기 프로젝트 열기: TechSmith/CSharpAnalytics 1 사용 예제들

공개 메소드들

메소드 설명
GetDeviceCategoryAsync ( ) : Task

Get the device category this computer belongs to.

GetDeviceManufacturerAsync ( ) : Task

Get the name of the manufacturer of this computer.

GetDeviceModelAsync ( ) : Task

Get the name of the model of this computer.

GetProcessorArchitecture ( ) : ProcessorArchitecture

Get the processor architecture of this computer.

GetSystemUserAgent ( ) : Task

Build a system user agent string that contains the Windows version number and CPU architecture.

GetWindowsVersionAsync ( ) : Task

Get the version of Windows for this computer.

비공개 메소드들

메소드 설명
FormatForUserAgent ( ProcessorArchitecture architecture ) : string

Format a ProcessorArchitecture as it would be expected in a user agent of a browser.

GetHalDevice ( ) : Task

Attempt to find the HAL (Hardware Abstraction Layer) device for this computer.

GetNativeSystemInfo ( _SYSTEM_INFO &lpSystemInfo ) : void
IsMicrosoftHal ( object>.IReadOnlyDictionary properties ) : bool

Determine if this device represents a Microsoft-provided HAL.

메소드 상세

GetDeviceCategoryAsync() 공개 정적인 메소드

Get the device category this computer belongs to.
public static GetDeviceCategoryAsync ( ) : Task
리턴 Task

GetDeviceManufacturerAsync() 공개 정적인 메소드

Get the name of the manufacturer of this computer.
public static GetDeviceManufacturerAsync ( ) : Task
리턴 Task

GetDeviceModelAsync() 공개 정적인 메소드

Get the name of the model of this computer.
public static GetDeviceModelAsync ( ) : Task
리턴 Task

GetProcessorArchitecture() 공개 정적인 메소드

Get the processor architecture of this computer.
public static GetProcessorArchitecture ( ) : ProcessorArchitecture
리턴 ProcessorArchitecture

GetSystemUserAgent() 공개 정적인 메소드

Build a system user agent string that contains the Windows version number and CPU architecture.
public static GetSystemUserAgent ( ) : Task
리턴 Task

GetWindowsVersionAsync() 공개 정적인 메소드

Get the version of Windows for this computer.
public static GetWindowsVersionAsync ( ) : Task
리턴 Task