LEADTOOLS Medical (Leadtools.Dicom.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
ServerIdentity Property
See Also 
Leadtools.Dicom.Web Namespace > MedicalWebViewerLoader Class : ServerIdentity Property



Gets or sets the expected WCF service identity required for X509 certificate authentication mode.

Syntax

Visual Basic (Declaration) 
Public Property ServerIdentity As DnsEndpointIdentity
Visual Basic (Usage)Copy Code
Dim instance As MedicalWebViewerLoader
Dim value As DnsEndpointIdentity
 
instance.ServerIdentity = value
 
value = instance.ServerIdentity
C# 
public DnsEndpointIdentity ServerIdentity {get; set;}
C++/CLI 
public:
property DnsEndpointIdentity^ ServerIdentity {
   DnsEndpointIdentity^ get();
   void set (    DnsEndpointIdentity^ value);
}

Property Value

A System.ServiceModel.DnsEndpointIdentity to check the Identity of the remote identity; this values can be set to null.

Example

Refer to the Medical Web Viewer demo in the WorkstationWebViewer project.

Remarks

Use this property to explicitly specify the System.ServiceModel.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.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also