Leadtools.Dicom.Web Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ServerIdentity Property
See Also 
Leadtools.Dicom.Web Namespace > MedicalWebViewerStreamer 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 MedicalWebViewerStreamer
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);
}

Return Value

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

Example

Please check our Medical Web Viewer demo, located in WinForms.csproj project.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

ServerIdentity requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features