Class WindowsNetworkManager
Universal Windows Platform implementation of NetworkManager.
Inherited Members
Namespace: Dicom.Network
Assembly: cs.temp.dll.dll
Syntax
public class WindowsNetworkManager : NetworkManager
Fields
Instance
Singleton instance of WindowsNetworkManager.
Declaration
public static readonly NetworkManager Instance
Field Value
| Type | Description |
|---|---|
| NetworkManager |
Properties
MachineNameImpl
Implementation of the machine name getter.
Declaration
protected override string MachineNameImpl { get; }
Property Value
| Type | Description |
|---|---|
| String |
Overrides
Methods
CreateNetworkListenerImpl(String, Int32)
Platform-specific implementation to create a network listener object.
Declaration
protected override INetworkListener CreateNetworkListenerImpl(string ipAddress, int port)
Parameters
| Type | Name | Description |
|---|---|---|
| String | ipAddress | IP address(es) to listen to. |
| Int32 | port | Network port to listen to. |
Returns
| Type | Description |
|---|---|
| INetworkListener | Network listener implementation. |
Overrides
CreateNetworkStreamImpl(String, Int32, Boolean, Boolean, Boolean, Int32)
Platform-specific implementation to create a network stream object.
Declaration
protected override INetworkStream CreateNetworkStreamImpl(string host, int port, bool useTls, bool noDelay, bool ignoreSslPolicyErrors, int millisecondsTimeout)
Parameters
| Type | Name | Description |
|---|---|---|
| String | host | Network host. |
| Int32 | port | Network port. |
| Boolean | useTls | Use TLS layer? |
| Boolean | noDelay | No delay? |
| Boolean | ignoreSslPolicyErrors | Ignore SSL policy errors? |
| Int32 | millisecondsTimeout | The timeout in milliseconds for creating a network stream |
Returns
| Type | Description |
|---|---|
| INetworkStream | Network stream implementation. |
Overrides
IsSocketExceptionImpl(Exception, out Int32, out String)
Platform-specific implementation to check whether specified exception represents a socket exception.
Declaration
protected override bool IsSocketExceptionImpl(Exception exception, out int errorCode, out string errorDescriptor)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | exception | Exception to validate. |
| Int32 | errorCode | Error code, valid if |
| String | errorDescriptor | Error descriptor, valid if |
Returns
| Type | Description |
|---|---|
| Boolean | True if |
Overrides
TryGetNetworkIdentifierImpl(out DicomUID)
Platform-specific implementation to attempt to obtain a unique network identifier, e.g. based on a MAC address.
Declaration
protected override bool TryGetNetworkIdentifierImpl(out DicomUID identifier)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomUID | identifier | Unique network identifier, if found. |
Returns
| Type | Description |
|---|---|
| Boolean | True if network identifier could be obtained, false otherwise. |