Share via

HttpBindingBase.HostNameComparisonMode Property


Gets or sets a value that indicates whether the hostname is used to reach the service when matching the URI.

 property System::ServiceModel::HostNameComparisonMode HostNameComparisonMode { System::ServiceModel::HostNameComparisonMode get(); void set(System::ServiceModel::HostNameComparisonMode value); };
public System.ServiceModel.HostNameComparisonMode HostNameComparisonMode { get; set; }
member this.HostNameComparisonMode : System.ServiceModel.HostNameComparisonMode with get, set
Public Property HostNameComparisonMode As HostNameComparisonMode

Property Value

true if the hostname is used for matching the URI; otherwise, false.

Applies to