共用方式為


IotHubConnectionCredentials.HostName Property

Definition

The host service that this client connects to. This can either be the IoT hub name or a gateway service name.

public string HostName { get; }
member this.HostName : string
Public ReadOnly Property HostName As String

Property Value

Applies to