Click or drag to resize

CanaryViewsApiServiceCanaryViewsApiServiceClientGetHostNameAsync(GetHostNameRequest, Metadata, NullableDateTime, CancellationToken) Method

/ Get the name of the host machine.

Namespace: Canary.Views.Grpc.Api
Assembly: Canary.Views.Grpc.Api (in Canary.Views.Grpc.Api.dll) Version: 25.6.0.25344+3070493948bf7d32a86bd3e9a8bcf4cc9a5b1929
Syntax
C#
public virtual AsyncUnaryCall<GetHostNameResponse> GetHostNameAsync(
	GetHostNameRequest request,
	Metadata headers = null,
	DateTime? deadline = null,
	CancellationToken cancellationToken = default
)

Parameters

request  GetHostNameRequest
The request to send to the server.
headers  Metadata  (Optional)
The initial metadata to send with the call. This parameter is optional.
deadline  NullableDateTime  (Optional)
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken  CancellationToken  (Optional)
An optional token for canceling the call.

Return Value

AsyncUnaryCallGetHostNameResponse
The call object.
See Also