OSVersionAsync Method
Overloads
| OSVersionAsync() |
Returns the version number of the operating system. |
|
| OSVersionAsync(AsyncHandle) |
Returns the version number of the operating system. |
|
| OSVersionAsync<T>(AsyncHandle, Func<Response, T>) |
Returns the version number of the operating system. |
OSVersionAsync()
Returns the version number of the operating system.
Declaration
public Task<string> OSVersionAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Implements
OSVersionAsync(AsyncHandle)
Returns the version number of the operating system.
Declaration
public Task<string> OSVersionAsync(AsyncHandle asyncHandle)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Implements
OSVersionAsync<T>(AsyncHandle, Func<Response, T>)
Returns the version number of the operating system.
Declaration
public Task<T> OSVersionAsync<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 |