Class DesktopNetworkStream
.NET implementation of INetworkStream.
Inherited Members
Namespace: Dicom.Network
Assembly: cs.temp.dll.dll
Syntax
public sealed class DesktopNetworkStream : INetworkStream, IDisposable
Properties
LocalHost
Gets the local host of the network stream.
Declaration
public string LocalHost { get; }
Property Value
Type | Description |
---|---|
String |
LocalPort
Gets the local port of the network stream.
Declaration
public int LocalPort { get; }
Property Value
Type | Description |
---|---|
Int32 |
RemoteHost
Gets the remote host of the network stream.
Declaration
public string RemoteHost { get; }
Property Value
Type | Description |
---|---|
String |
RemotePort
Gets the remote port of the network stream.
Declaration
public int RemotePort { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
AsStream()
Get corresponding Stream object.
Declaration
public Stream AsStream()
Returns
Type | Description |
---|---|
Stream | Network stream as Stream object. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Finalize()
Destructor.
Declaration
protected void Finalize()