Visual Basic (Declaration) | |
---|---|
Public Property ServerIdentity As DnsEndpointIdentity |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public DnsEndpointIdentity ServerIdentity {get; set;} |
C++/CLI | |
---|---|
public: property DnsEndpointIdentity ServerIdentity { DnsEndpointIdentity get(); void set (DnsEndpointIdentity value); } |
Return Value
A DnsEndpointIdentity to check the Identity of the remote identity; this values can be set to null.Please check our Medical Web Viewer demo, located in WinForms.csproj project.
Use this property to explicitly specify the DnsEndpointIdentity for outgoing messages.
This property is useful when connecting to a WCF service where the service address differ than the server identiry or when using an invalid (test) certificate.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family