Class DesktopNetworkStream
.NET implementation of INetworkStream.
Inheritance
System.Object
DesktopNetworkStream
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FellowOakDicom.Network
Assembly: fo-dicom.core.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 |
---|---|
System.String |
LocalPort
Gets the local port of the network stream.
Declaration
public int LocalPort { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RemoteHost
Gets the remote host of the network stream.
Declaration
public string RemoteHost { get; }
Property Value
Type | Description |
---|---|
System.String |
RemotePort
Gets the remote port of the network stream.
Declaration
public int RemotePort { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
AsStream()
Get corresponding System.IO.Stream object.
Declaration
public Stream AsStream()
Returns
Type | Description |
---|---|
System.IO.Stream | Network stream as System.IO.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()
Implements
System.IDisposable