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
Task<string> OSNameAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
OSNameAsync(AsyncHandle)
Returns the name of the operating system.
Declaration
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> |
OSNameAsync<T>(AsyncHandle, Func<Response, T>)
Returns the name of the operating system.
Declaration
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 |