Skip to main content Skip to complementary content

OSNameAsync Method

Overloads

OSNameAsync()

Returns the name of the operating system.

OSNameAsync(AsyncHandle)

Returns the name of the operating system.

OSNameAsync<T>(AsyncHandle, Func<Response, T>)

Returns the name of the operating system.

OSNameAsync()

Returns the name of the operating system.

Declaration

      public Task<string> OSNameAsync()
    

Returns

Type Description
System.Threading.Tasks.Task<System.String>

Implements

OSNameAsync(AsyncHandle)

Returns the name of the operating system.

Declaration

      public Task<string> OSNameAsync(AsyncHandle asyncHandle)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

Returns

Type Description
System.Threading.Tasks.Task<System.String>

Implements

OSNameAsync<T>(AsyncHandle, Func<Response, T>)

Returns the name of the operating system.

Declaration

      public Task<T> OSNameAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

Returns

Type Description
System.Threading.Tasks.Task<T>

Type Parameters

Name Description
T

Implements

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!