SslStream
Overview
Location
-
Reference:
- RemObjects.InternetPack.fx Island
- libRemObjects.InternetPack.fx Toffee
- Namespace: RemObjects.InternetPack
- Platforms: Island, Toffee
- Ancestry: Stream | AuthenticatedStream | SslStream
constructor (Stream)
constructor(innerStream: Stream)
SslStream(Stream innerStream)
init(_ innerStream: Stream)
Sub New(innerStream As Stream)
Parameters:
- innerStream:
constructor(innerStream: Stream; leaveInnerStreamOpen: Boolean)
SslStream(Stream innerStream, Boolean leaveInnerStreamOpen)
init(_ innerStream: Stream, _ leaveInnerStreamOpen: Boolean)
Sub New(innerStream As Stream, leaveInnerStreamOpen As Boolean)
Parameters:
- innerStream:
- leaveInnerStreamOpen:
constructor(innerStream: Stream; leaveInnerStreamOpen: Boolean; userCertificateValidationCallback: RemoteCertificateValidationCallback)
SslStream(Stream innerStream, Boolean leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback)
init(_ innerStream: Stream, _ leaveInnerStreamOpen: Boolean, _ userCertificateValidationCallback: RemoteCertificateValidationCallback)
Sub New(innerStream As Stream, leaveInnerStreamOpen As Boolean, userCertificateValidationCallback As RemoteCertificateValidationCallback)
Parameters:
- innerStream:
- leaveInnerStreamOpen:
- userCertificateValidationCallback:
constructor (Stream, Boolean, RemoteCertificateValidationCallback, LocalCertificateSelectionCallback)
constructor(innerStream: Stream; leaveInnerStreamOpen: Boolean; userCertificateValidationCallback: RemoteCertificateValidationCallback; userCertificateSelectionCallback: LocalCertificateSelectionCallback)
SslStream(Stream innerStream, Boolean leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback)
init(_ innerStream: Stream, _ leaveInnerStreamOpen: Boolean, _ userCertificateValidationCallback: RemoteCertificateValidationCallback, _ userCertificateSelectionCallback: LocalCertificateSelectionCallback)
Sub New(innerStream As Stream, leaveInnerStreamOpen As Boolean, userCertificateValidationCallback As RemoteCertificateValidationCallback, userCertificateSelectionCallback As LocalCertificateSelectionCallback)
Parameters:
- innerStream:
- leaveInnerStreamOpen:
- userCertificateValidationCallback:
- userCertificateSelectionCallback:
constructor (Stream, Boolean, RemoteCertificateValidationCallback, LocalCertificateSelectionCallback, EncryptionPolicy)
constructor(innerStream: Stream; leaveInnerStreamOpen: Boolean; userCertificateValidationCallback: RemoteCertificateValidationCallback; userCertificateSelectionCallback: LocalCertificateSelectionCallback; encryptionPolicy: EncryptionPolicy)
SslStream(Stream innerStream, Boolean leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback, EncryptionPolicy encryptionPolicy)
init(_ innerStream: Stream, _ leaveInnerStreamOpen: Boolean, _ userCertificateValidationCallback: RemoteCertificateValidationCallback, _ userCertificateSelectionCallback: LocalCertificateSelectionCallback, _ encryptionPolicy: EncryptionPolicy)
Sub New(innerStream As Stream, leaveInnerStreamOpen As Boolean, userCertificateValidationCallback As RemoteCertificateValidationCallback, userCertificateSelectionCallback As LocalCertificateSelectionCallback, encryptionPolicy As EncryptionPolicy)
Parameters:
- innerStream:
- leaveInnerStreamOpen:
- userCertificateValidationCallback:
- userCertificateSelectionCallback:
- encryptionPolicy:
AuthenticateAsClient (String) virtual
method AuthenticateAsClient(targetHost: String)
void AuthenticateAsClient(String targetHost)
func AuthenticateAsClient(_ targetHost: String)
Sub AuthenticateAsClient(targetHost As String)
Parameters:
- targetHost:
AuthenticateAsClient (String, X509CertificateCollection, SslProtocols, Boolean) virtual
method AuthenticateAsClient(targetHost: String; clientCertificates: X509CertificateCollection; enabledSslProtocols: SslProtocols; checkCertificateRevocation: Boolean)
void AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
func AuthenticateAsClient(_ targetHost: String, _ clientCertificates: X509CertificateCollection, _ enabledSslProtocols: SslProtocols, _ checkCertificateRevocation: Boolean)
Sub AuthenticateAsClient(targetHost As String, clientCertificates As X509CertificateCollection, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean)
Parameters:
- targetHost:
- clientCertificates:
- enabledSslProtocols:
- checkCertificateRevocation:
AuthenticateAsServer (X509Certificate) virtual
method AuthenticateAsServer(serverCertificate: X509Certificate)
void AuthenticateAsServer(X509Certificate serverCertificate)
func AuthenticateAsServer(_ serverCertificate: X509Certificate)
Sub AuthenticateAsServer(serverCertificate As X509Certificate)
Parameters:
- serverCertificate:
AuthenticateAsServer (X509Certificate, Boolean, SslProtocols, Boolean) virtual
method AuthenticateAsServer(serverCertificate: X509Certificate; clientCertificateRequired: Boolean; enabledSslProtocols: SslProtocols; checkCertificateRevocation: Boolean)
void AuthenticateAsServer(X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
func AuthenticateAsServer(_ serverCertificate: X509Certificate, _ clientCertificateRequired: Boolean, _ enabledSslProtocols: SslProtocols, _ checkCertificateRevocation: Boolean)
Sub AuthenticateAsServer(serverCertificate As X509Certificate, clientCertificateRequired As Boolean, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean)
Parameters:
- serverCertificate:
- clientCertificateRequired:
- enabledSslProtocols:
- checkCertificateRevocation:
BeginAuthenticateAsClient (String, AsyncCallback, Object): IAsyncResult virtual
method BeginAuthenticateAsClient(targetHost: String; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginAuthenticateAsClient(String targetHost, AsyncCallback asyncCallback, Object asyncState)
func BeginAuthenticateAsClient(_ targetHost: String, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginAuthenticateAsClient(targetHost As String, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- targetHost:
- asyncCallback:
- asyncState:
BeginAuthenticateAsClient (String, X509CertificateCollection, SslProtocols, Boolean, AsyncCallback, Object): IAsyncResult virtual
method BeginAuthenticateAsClient(targetHost: String; clientCertificates: X509CertificateCollection; enabledSslProtocols: SslProtocols; checkCertificateRevocation: Boolean; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginAuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation, AsyncCallback asyncCallback, Object asyncState)
func BeginAuthenticateAsClient(_ targetHost: String, _ clientCertificates: X509CertificateCollection, _ enabledSslProtocols: SslProtocols, _ checkCertificateRevocation: Boolean, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginAuthenticateAsClient(targetHost As String, clientCertificates As X509CertificateCollection, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- targetHost:
- clientCertificates:
- enabledSslProtocols:
- checkCertificateRevocation:
- asyncCallback:
- asyncState:
BeginAuthenticateAsServer (X509Certificate, AsyncCallback, Object): IAsyncResult virtual
method BeginAuthenticateAsServer(serverCertificate: X509Certificate; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, AsyncCallback asyncCallback, Object asyncState)
func BeginAuthenticateAsServer(_ serverCertificate: X509Certificate, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginAuthenticateAsServer(serverCertificate As X509Certificate, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- serverCertificate:
- asyncCallback:
- asyncState:
BeginAuthenticateAsServer (X509Certificate, Boolean, SslProtocols, Boolean, AsyncCallback, Object): IAsyncResult virtual
method BeginAuthenticateAsServer(serverCertificate: X509Certificate; clientCertificateRequired: Boolean; enabledSslProtocols: SslProtocols; checkCertificateRevocation: Boolean; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation, AsyncCallback asyncCallback, Object asyncState)
func BeginAuthenticateAsServer(_ serverCertificate: X509Certificate, _ clientCertificateRequired: Boolean, _ enabledSslProtocols: SslProtocols, _ checkCertificateRevocation: Boolean, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginAuthenticateAsServer(serverCertificate As X509Certificate, clientCertificateRequired As Boolean, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- serverCertificate:
- clientCertificateRequired:
- enabledSslProtocols:
- checkCertificateRevocation:
- asyncCallback:
- asyncState:
BeginRead virtual
method BeginRead(buffer: array of Byte; offset: Int32; count: Int32; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
func BeginRead(_ buffer: Byte..., _ offset: Int32, _ count: Int32, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginRead(buffer As Byte(), offset As Int32, count As Int32, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- buffer:
- offset:
- count:
- asyncCallback:
- asyncState:
BeginWrite virtual
method BeginWrite(buffer: array of Byte; offset: Int32; count: Int32; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
func BeginWrite(_ buffer: Byte..., _ offset: Int32, _ count: Int32, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginWrite(buffer As Byte(), offset As Int32, count As Int32, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- buffer:
- offset:
- count:
- asyncCallback:
- asyncState:
CanRead virtual (declared in Stream)
Implementations should return true if this stream can be read from.
property CanRead: Boolean read;
Boolean CanRead { get; }
var CanRead: Boolean { get{} }
ReadOnly Property CanRead() As Boolean
CanRead override
property CanRead: Boolean read write;
Boolean CanRead { get; set; }
var CanRead: Boolean { get{} set{} }
Property CanRead() As Boolean
CanSeek virtual (declared in Stream)
Implementations should return true if this stream can be seeked, the position can be changed.
property CanSeek: Boolean read;
Boolean CanSeek { get; }
var CanSeek: Boolean { get{} }
ReadOnly Property CanSeek() As Boolean
CanSeek override
property CanSeek: Boolean read write;
Boolean CanSeek { get; set; }
var CanSeek: Boolean { get{} set{} }
Property CanSeek() As Boolean
CanTimeout virtual
property CanTimeout: Boolean read write;
Boolean CanTimeout { get; set; }
var CanTimeout: Boolean { get{} set{} }
Property CanTimeout() As Boolean
CanWrite virtual (declared in Stream)
Implementations should return true if this stream can be written to.
property CanWrite: Boolean read;
Boolean CanWrite { get; }
var CanWrite: Boolean { get{} }
ReadOnly Property CanWrite() As Boolean
CanWrite override
property CanWrite: Boolean read write;
Boolean CanWrite { get; set; }
var CanWrite: Boolean { get{} set{} }
Property CanWrite() As Boolean
CheckCertRevocationStatus virtual
property CheckCertRevocationStatus: Boolean read write;
Boolean CheckCertRevocationStatus { get; set; }
var CheckCertRevocationStatus: Boolean { get{} set{} }
Property CheckCertRevocationStatus() As Boolean
CipherAlgorithm virtual
property CipherAlgorithm: CipherAlgorithmType read write;
CipherAlgorithmType CipherAlgorithm { get; set; }
var CipherAlgorithm: CipherAlgorithmType { get{} set{} }
Property CipherAlgorithm() As CipherAlgorithmType
CipherStrength virtual
property CipherStrength: Int32 read write;
Int32 CipherStrength { get; set; }
var CipherStrength: Int32 { get{} set{} }
Property CipherStrength() As Int32
Close override
method Close
void Close()
func Close()
Sub Close()
CopyTo virtual (declared in Stream)
Copy the content of this stream to another
method CopyTo(Destination: Stream)
void CopyTo(Stream Destination)
func CopyTo(_ Destination: Stream)
Sub CopyTo(Destination As Stream)
Parameters:
- Destination:
Dispose (declared in Stream) Island
Close the stream and underlying resources.
method Dispose
void Dispose()
func Dispose()
Sub Dispose()
EndAuthenticateAsClient virtual
method EndAuthenticateAsClient(asyncResult: IAsyncResult)
void EndAuthenticateAsClient(IAsyncResult asyncResult)
func EndAuthenticateAsClient(_ asyncResult: IAsyncResult)
Sub EndAuthenticateAsClient(asyncResult As IAsyncResult)
Parameters:
- asyncResult:
EndAuthenticateAsServer virtual
method EndAuthenticateAsServer(asyncResult: IAsyncResult)
void EndAuthenticateAsServer(IAsyncResult asyncResult)
func EndAuthenticateAsServer(_ asyncResult: IAsyncResult)
Sub EndAuthenticateAsServer(asyncResult As IAsyncResult)
Parameters:
- asyncResult:
EndRead virtual
method EndRead(asyncResult: IAsyncResult): Int32
Int32 EndRead(IAsyncResult asyncResult)
func EndRead(_ asyncResult: IAsyncResult) -> Int32
Function EndRead(asyncResult As IAsyncResult) As Int32
Parameters:
- asyncResult:
EndWrite virtual
method EndWrite(asyncResult: IAsyncResult)
void EndWrite(IAsyncResult asyncResult)
func EndWrite(_ asyncResult: IAsyncResult)
Sub EndWrite(asyncResult As IAsyncResult)
Parameters:
- asyncResult:
Flush override
method Flush
void Flush()
func Flush()
Sub Flush()
GetLength virtual (declared in Stream)
Returns the length of this stream.
method GetLength: Int64
Int64 GetLength()
func GetLength() -> Int64
Function GetLength() As Int64
GetPosition virtual (declared in Stream)
Returns the current position in this stream.
method GetPosition: Int64
Int64 GetPosition()
func GetPosition() -> Int64
Function GetPosition() As Int64
HashAlgorithm virtual
property HashAlgorithm: HashAlgorithmType read write;
HashAlgorithmType HashAlgorithm { get; set; }
var HashAlgorithm: HashAlgorithmType { get{} set{} }
Property HashAlgorithm() As HashAlgorithmType
HashStrength virtual
property HashStrength: Int32 read write;
Int32 HashStrength { get; set; }
var HashStrength: Int32 { get{} set{} }
Property HashStrength() As Int32
InnerStream protected virtual (declared in AuthenticatedStream)
property InnerStream: Stream read write;
Stream InnerStream { get; set; }
var InnerStream: Stream { get{} set{} }
Property InnerStream() As Stream
IsAuthenticated override
property IsAuthenticated: Boolean read write;
Boolean IsAuthenticated { get; set; }
var IsAuthenticated: Boolean { get{} set{} }
Property IsAuthenticated() As Boolean
IsEncrypted override
property IsEncrypted: Boolean read write;
Boolean IsEncrypted { get; set; }
var IsEncrypted: Boolean { get{} set{} }
Property IsEncrypted() As Boolean
IsMutuallyAuthenticated override
property IsMutuallyAuthenticated: Boolean read write;
Boolean IsMutuallyAuthenticated { get; set; }
var IsMutuallyAuthenticated: Boolean { get{} set{} }
Property IsMutuallyAuthenticated() As Boolean
IsServer override
property IsServer: Boolean read write;
Boolean IsServer { get; set; }
var IsServer: Boolean { get{} set{} }
Property IsServer() As Boolean
IsSigned override
property IsSigned: Boolean read write;
Boolean IsSigned { get; set; }
var IsSigned: Boolean { get{} set{} }
Property IsSigned() As Boolean
KeyExchangeAlgorithm virtual
property KeyExchangeAlgorithm: ExchangeAlgorithmType read write;
ExchangeAlgorithmType KeyExchangeAlgorithm { get; set; }
var KeyExchangeAlgorithm: ExchangeAlgorithmType { get{} set{} }
Property KeyExchangeAlgorithm() As ExchangeAlgorithmType
KeyExchangeStrength virtual
property KeyExchangeStrength: Int32 read write;
Int32 KeyExchangeStrength { get; set; }
var KeyExchangeStrength: Int32 { get{} set{} }
Property KeyExchangeStrength() As Int32
LeaveInnerStreamOpen virtual (declared in AuthenticatedStream)
property LeaveInnerStreamOpen: Boolean read write;
Boolean LeaveInnerStreamOpen { get; set; }
var LeaveInnerStreamOpen: Boolean { get{} set{} }
Property LeaveInnerStreamOpen() As Boolean
Length virtual (declared in Stream)
Returns the length of this stream.
property Length: Int64 read;
Int64 Length { get; }
var Length: Int64 { get{} }
ReadOnly Property Length() As Int64
Length override
property Length: Int64 read write;
Int64 Length { get; set; }
var Length: Int64 { get{} set{} }
Property Length() As Int64
LocalCertificate virtual
property LocalCertificate: X509Certificate read write;
X509Certificate LocalCertificate { get; set; }
var LocalCertificate: X509Certificate { get{} set{} }
Property LocalCertificate() As X509Certificate
Position override
property Position: Int64 read write;
Int64 Position { get; set; }
var Position: Int64 { get{} set{} }
Property Position() As Int64
Read from this stream. Returns the nr of bytes retreived., or 0 when the end has been reached.
method Read(Buffer: array of Byte; Count: Int32): Int32
Int32 Read(Byte[] Buffer, Int32 Count)
func Read(_ Buffer: Byte..., _ Count: Int32) -> Int32
Function Read(Buffer As Byte(), Count As Int32) As Int32
Parameters:
- Buffer:
- Count:
method Read(buffer: array of Byte; offset: Int32; count: Int32): Int32
Int32 Read(Byte[] buffer, Int32 offset, Int32 count)
func Read(_ buffer: Byte..., _ offset: Int32, _ count: Int32) -> Int32
Function Read(buffer As Byte(), offset As Int32, count As Int32) As Int32
Parameters:
- buffer:
- offset:
- count:
ReadByte virtual (declared in Stream)
Reads a byte or returns -1 if the stream has reached the end
method ReadByte: Int32
Int32 ReadByte()
func ReadByte() -> Int32
Function ReadByte() As Int32
method ReadByte(out aResult: Byte): Boolean
Boolean ReadByte(out Byte aResult)
func ReadByte(_ aResult: inout Byte) -> Boolean
Function ReadByte(<OutAttribute> ByRef aResult As Byte) As Boolean
Parameters:
- aResult:
ReadGuid (declared in Stream)
method ReadGuid(out aResult: Guid): Boolean
Boolean ReadGuid(out Guid aResult)
func ReadGuid(_ aResult: inout Guid) -> Boolean
Function ReadGuid(<OutAttribute> ByRef aResult As Guid) As Boolean
Parameters:
- aResult:
ReadTimeout virtual
property ReadTimeout: Int32 read write;
Int32 ReadTimeout { get; set; }
var ReadTimeout: Int32 { get{} set{} }
Property ReadTimeout() As Int32
ReadUInt16BE (declared in Stream)
method ReadUInt16BE(out aResult: UInt16): Boolean
Boolean ReadUInt16BE(out UInt16 aResult)
func ReadUInt16BE(_ aResult: inout UInt16) -> Boolean
Function ReadUInt16BE(<OutAttribute> ByRef aResult As UInt16) As Boolean
Parameters:
- aResult:
ReadUInt16LE (declared in Stream)
method ReadUInt16LE(out aResult: UInt16): Boolean
Boolean ReadUInt16LE(out UInt16 aResult)
func ReadUInt16LE(_ aResult: inout UInt16) -> Boolean
Function ReadUInt16LE(<OutAttribute> ByRef aResult As UInt16) As Boolean
Parameters:
- aResult:
ReadUInt32BE (declared in Stream)
method ReadUInt32BE(out aResult: UInt32): Boolean
Boolean ReadUInt32BE(out UInt32 aResult)
func ReadUInt32BE(_ aResult: inout UInt32) -> Boolean
Function ReadUInt32BE(<OutAttribute> ByRef aResult As UInt32) As Boolean
Parameters:
- aResult:
ReadUInt32LE (declared in Stream)
method ReadUInt32LE(out aResult: UInt32): Boolean
Boolean ReadUInt32LE(out UInt32 aResult)
func ReadUInt32LE(_ aResult: inout UInt32) -> Boolean
Function ReadUInt32LE(<OutAttribute> ByRef aResult As UInt32) As Boolean
Parameters:
- aResult:
ReadUInt64BE (declared in Stream)
method ReadUInt64BE(out aResult: UInt64): Boolean
Boolean ReadUInt64BE(out UInt64 aResult)
func ReadUInt64BE(_ aResult: inout UInt64) -> Boolean
Function ReadUInt64BE(<OutAttribute> ByRef aResult As UInt64) As Boolean
Parameters:
- aResult:
ReadUInt64LE (declared in Stream)
method ReadUInt64LE(out aResult: UInt64): Boolean
Boolean ReadUInt64LE(out UInt64 aResult)
func ReadUInt64LE(_ aResult: inout UInt64) -> Boolean
Function ReadUInt64LE(<OutAttribute> ByRef aResult As UInt64) As Boolean
Parameters:
- aResult:
RemoteCertificate virtual
property RemoteCertificate: X509Certificate read write;
X509Certificate RemoteCertificate { get; set; }
var RemoteCertificate: X509Certificate { get{} set{} }
Property RemoteCertificate() As X509Certificate
Seek override
method Seek(offset: Int64; origin: SeekOrigin): Int64
Int64 Seek(Int64 offset, SeekOrigin origin)
func Seek(_ offset: Int64, _ origin: SeekOrigin) -> Int64
Function Seek(offset As Int64, origin As SeekOrigin) As Int64
Parameters:
- offset:
- origin:
SetPosition virtual (declared in Stream) Island
Sets the absolute position in the stream.
method SetPosition(Value: Int64)
void SetPosition(Int64 Value)
func SetPosition(_ Value: Int64)
Sub SetPosition(Value As Int64)
Parameters:
- Value:
SslProtocol virtual
property SslProtocol: SslProtocols read write;
SslProtocols SslProtocol { get; set; }
var SslProtocol: SslProtocols { get{} set{} }
Property SslProtocol() As SslProtocols
TransportContext virtual
property TransportContext: TransportContext read write;
TransportContext TransportContext { get; set; }
var TransportContext: TransportContext { get{} set{} }
Property TransportContext() As TransportContext
Write (array of Byte) virtual
method Write(buffer: array of Byte)
void Write(Byte[] buffer)
func Write(_ buffer: Byte...)
Sub Write(buffer As Byte())
Parameters:
- buffer:
method Write(Buffer: array of Byte): Int32
Int32 Write(Byte[] Buffer)
func Write(_ Buffer: Byte...) -> Int32
Function Write(Buffer As Byte()) As Int32
Parameters:
- Buffer:
Writes data to the stream.
method Write(Buffer: array of Byte; Count: Int32): Int32
Int32 Write(Byte[] Buffer, Int32 Count)
func Write(_ Buffer: Byte..., _ Count: Int32) -> Int32
Function Write(Buffer As Byte(), Count As Int32) As Int32
Parameters:
- Buffer:
- Count:
method Write(buffer: array of Byte; offset: Int32; count: Int32): Int32
Int32 Write(Byte[] buffer, Int32 offset, Int32 count)
func Write(_ buffer: Byte..., _ offset: Int32, _ count: Int32) -> Int32
Function Write(buffer As Byte(), offset As Int32, count As Int32) As Int32
Parameters:
- buffer:
- offset:
- count:
WriteByte virtual (declared in Stream)
Writes data to the stream.
method WriteByte(aValue: Byte)
void WriteByte(Byte aValue)
func WriteByte(_ aValue: Byte)
Sub WriteByte(aValue As Byte)
Parameters:
- aValue:
WriteGuid (declared in Stream)
method WriteGuid(value: Guid): Boolean
Boolean WriteGuid(Guid value)
func WriteGuid(_ value: Guid) -> Boolean
Function WriteGuid(value As Guid) As Boolean
Parameters:
- value:
WriteTimeout virtual
property WriteTimeout: Int32 read write;
Int32 WriteTimeout { get; set; }
var WriteTimeout: Int32 { get{} set{} }
Property WriteTimeout() As Int32
WriteUInt16BE (declared in Stream)
method WriteUInt16BE(value: UInt16): Boolean
Boolean WriteUInt16BE(UInt16 value)
func WriteUInt16BE(_ value: UInt16) -> Boolean
Function WriteUInt16BE(value As UInt16) As Boolean
Parameters:
- value:
WriteUInt16LE (declared in Stream)
method WriteUInt16LE(value: UInt16): Boolean
Boolean WriteUInt16LE(UInt16 value)
func WriteUInt16LE(_ value: UInt16) -> Boolean
Function WriteUInt16LE(value As UInt16) As Boolean
Parameters:
- value:
WriteUInt32BE (declared in Stream)
method WriteUInt32BE(value: UInt32): Boolean
Boolean WriteUInt32BE(UInt32 value)
func WriteUInt32BE(_ value: UInt32) -> Boolean
Function WriteUInt32BE(value As UInt32) As Boolean
Parameters:
- value:
WriteUInt32LE (declared in Stream)
method WriteUInt32LE(value: UInt32): Boolean
Boolean WriteUInt32LE(UInt32 value)
func WriteUInt32LE(_ value: UInt32) -> Boolean
Function WriteUInt32LE(value As UInt32) As Boolean
Parameters:
- value:
WriteUInt64BE (declared in Stream)
method WriteUInt64BE(value: UInt64): Boolean
Boolean WriteUInt64BE(UInt64 value)
func WriteUInt64BE(_ value: UInt64) -> Boolean
Function WriteUInt64BE(value As UInt64) As Boolean
Parameters:
- value:
WriteUInt64LE (declared in Stream)
method WriteUInt64LE(value: UInt64): Boolean
Boolean WriteUInt64LE(UInt64 value)
func WriteUInt64LE(_ value: UInt64) -> Boolean
Function WriteUInt64LE(value As UInt64) As Boolean
Parameters:
- value:
CanRead virtual (declared in Stream)
Implementations should return true if this stream can be read from.
property CanRead: Boolean read;
Boolean CanRead { get; }
var CanRead: Boolean { get{} }
ReadOnly Property CanRead() As Boolean
CanRead override
property CanRead: Boolean read write;
Boolean CanRead { get; set; }
var CanRead: Boolean { get{} set{} }
Property CanRead() As Boolean
CanSeek virtual (declared in Stream)
Implementations should return true if this stream can be seeked, the position can be changed.
property CanSeek: Boolean read;
Boolean CanSeek { get; }
var CanSeek: Boolean { get{} }
ReadOnly Property CanSeek() As Boolean
CanSeek override
property CanSeek: Boolean read write;
Boolean CanSeek { get; set; }
var CanSeek: Boolean { get{} set{} }
Property CanSeek() As Boolean
CanTimeout virtual
property CanTimeout: Boolean read write;
Boolean CanTimeout { get; set; }
var CanTimeout: Boolean { get{} set{} }
Property CanTimeout() As Boolean
CanWrite virtual (declared in Stream)
Implementations should return true if this stream can be written to.
property CanWrite: Boolean read;
Boolean CanWrite { get; }
var CanWrite: Boolean { get{} }
ReadOnly Property CanWrite() As Boolean
CanWrite override
property CanWrite: Boolean read write;
Boolean CanWrite { get; set; }
var CanWrite: Boolean { get{} set{} }
Property CanWrite() As Boolean
CheckCertRevocationStatus virtual
property CheckCertRevocationStatus: Boolean read write;
Boolean CheckCertRevocationStatus { get; set; }
var CheckCertRevocationStatus: Boolean { get{} set{} }
Property CheckCertRevocationStatus() As Boolean
CipherAlgorithm virtual
property CipherAlgorithm: CipherAlgorithmType read write;
CipherAlgorithmType CipherAlgorithm { get; set; }
var CipherAlgorithm: CipherAlgorithmType { get{} set{} }
Property CipherAlgorithm() As CipherAlgorithmType
CipherStrength virtual
property CipherStrength: Int32 read write;
Int32 CipherStrength { get; set; }
var CipherStrength: Int32 { get{} set{} }
Property CipherStrength() As Int32
HashAlgorithm virtual
property HashAlgorithm: HashAlgorithmType read write;
HashAlgorithmType HashAlgorithm { get; set; }
var HashAlgorithm: HashAlgorithmType { get{} set{} }
Property HashAlgorithm() As HashAlgorithmType
HashStrength virtual
property HashStrength: Int32 read write;
Int32 HashStrength { get; set; }
var HashStrength: Int32 { get{} set{} }
Property HashStrength() As Int32
InnerStream protected virtual (declared in AuthenticatedStream)
property InnerStream: Stream read write;
Stream InnerStream { get; set; }
var InnerStream: Stream { get{} set{} }
Property InnerStream() As Stream
IsAuthenticated override
property IsAuthenticated: Boolean read write;
Boolean IsAuthenticated { get; set; }
var IsAuthenticated: Boolean { get{} set{} }
Property IsAuthenticated() As Boolean
IsEncrypted override
property IsEncrypted: Boolean read write;
Boolean IsEncrypted { get; set; }
var IsEncrypted: Boolean { get{} set{} }
Property IsEncrypted() As Boolean
IsMutuallyAuthenticated override
property IsMutuallyAuthenticated: Boolean read write;
Boolean IsMutuallyAuthenticated { get; set; }
var IsMutuallyAuthenticated: Boolean { get{} set{} }
Property IsMutuallyAuthenticated() As Boolean
IsServer override
property IsServer: Boolean read write;
Boolean IsServer { get; set; }
var IsServer: Boolean { get{} set{} }
Property IsServer() As Boolean
IsSigned override
property IsSigned: Boolean read write;
Boolean IsSigned { get; set; }
var IsSigned: Boolean { get{} set{} }
Property IsSigned() As Boolean
KeyExchangeAlgorithm virtual
property KeyExchangeAlgorithm: ExchangeAlgorithmType read write;
ExchangeAlgorithmType KeyExchangeAlgorithm { get; set; }
var KeyExchangeAlgorithm: ExchangeAlgorithmType { get{} set{} }
Property KeyExchangeAlgorithm() As ExchangeAlgorithmType
KeyExchangeStrength virtual
property KeyExchangeStrength: Int32 read write;
Int32 KeyExchangeStrength { get; set; }
var KeyExchangeStrength: Int32 { get{} set{} }
Property KeyExchangeStrength() As Int32
LeaveInnerStreamOpen virtual (declared in AuthenticatedStream)
property LeaveInnerStreamOpen: Boolean read write;
Boolean LeaveInnerStreamOpen { get; set; }
var LeaveInnerStreamOpen: Boolean { get{} set{} }
Property LeaveInnerStreamOpen() As Boolean
Length virtual (declared in Stream)
Returns the length of this stream.
property Length: Int64 read;
Int64 Length { get; }
var Length: Int64 { get{} }
ReadOnly Property Length() As Int64
Length override
property Length: Int64 read write;
Int64 Length { get; set; }
var Length: Int64 { get{} set{} }
Property Length() As Int64
LocalCertificate virtual
property LocalCertificate: X509Certificate read write;
X509Certificate LocalCertificate { get; set; }
var LocalCertificate: X509Certificate { get{} set{} }
Property LocalCertificate() As X509Certificate
Position override
property Position: Int64 read write;
Int64 Position { get; set; }
var Position: Int64 { get{} set{} }
Property Position() As Int64
ReadTimeout virtual
property ReadTimeout: Int32 read write;
Int32 ReadTimeout { get; set; }
var ReadTimeout: Int32 { get{} set{} }
Property ReadTimeout() As Int32
RemoteCertificate virtual
property RemoteCertificate: X509Certificate read write;
X509Certificate RemoteCertificate { get; set; }
var RemoteCertificate: X509Certificate { get{} set{} }
Property RemoteCertificate() As X509Certificate
SslProtocol virtual
property SslProtocol: SslProtocols read write;
SslProtocols SslProtocol { get; set; }
var SslProtocol: SslProtocols { get{} set{} }
Property SslProtocol() As SslProtocols
TransportContext virtual
property TransportContext: TransportContext read write;
TransportContext TransportContext { get; set; }
var TransportContext: TransportContext { get{} set{} }
Property TransportContext() As TransportContext
WriteTimeout virtual
property WriteTimeout: Int32 read write;
Int32 WriteTimeout { get; set; }
var WriteTimeout: Int32 { get{} set{} }
Property WriteTimeout() As Int32
constructor (Stream)
constructor(innerStream: Stream)
SslStream(Stream innerStream)
init(_ innerStream: Stream)
Sub New(innerStream As Stream)
Parameters:
- innerStream:
constructor(innerStream: Stream; leaveInnerStreamOpen: Boolean)
SslStream(Stream innerStream, Boolean leaveInnerStreamOpen)
init(_ innerStream: Stream, _ leaveInnerStreamOpen: Boolean)
Sub New(innerStream As Stream, leaveInnerStreamOpen As Boolean)
Parameters:
- innerStream:
- leaveInnerStreamOpen:
constructor(innerStream: Stream; leaveInnerStreamOpen: Boolean; userCertificateValidationCallback: RemoteCertificateValidationCallback)
SslStream(Stream innerStream, Boolean leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback)
init(_ innerStream: Stream, _ leaveInnerStreamOpen: Boolean, _ userCertificateValidationCallback: RemoteCertificateValidationCallback)
Sub New(innerStream As Stream, leaveInnerStreamOpen As Boolean, userCertificateValidationCallback As RemoteCertificateValidationCallback)
Parameters:
- innerStream:
- leaveInnerStreamOpen:
- userCertificateValidationCallback:
constructor (Stream, Boolean, RemoteCertificateValidationCallback, LocalCertificateSelectionCallback)
constructor(innerStream: Stream; leaveInnerStreamOpen: Boolean; userCertificateValidationCallback: RemoteCertificateValidationCallback; userCertificateSelectionCallback: LocalCertificateSelectionCallback)
SslStream(Stream innerStream, Boolean leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback)
init(_ innerStream: Stream, _ leaveInnerStreamOpen: Boolean, _ userCertificateValidationCallback: RemoteCertificateValidationCallback, _ userCertificateSelectionCallback: LocalCertificateSelectionCallback)
Sub New(innerStream As Stream, leaveInnerStreamOpen As Boolean, userCertificateValidationCallback As RemoteCertificateValidationCallback, userCertificateSelectionCallback As LocalCertificateSelectionCallback)
Parameters:
- innerStream:
- leaveInnerStreamOpen:
- userCertificateValidationCallback:
- userCertificateSelectionCallback:
constructor (Stream, Boolean, RemoteCertificateValidationCallback, LocalCertificateSelectionCallback, EncryptionPolicy)
constructor(innerStream: Stream; leaveInnerStreamOpen: Boolean; userCertificateValidationCallback: RemoteCertificateValidationCallback; userCertificateSelectionCallback: LocalCertificateSelectionCallback; encryptionPolicy: EncryptionPolicy)
SslStream(Stream innerStream, Boolean leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback, EncryptionPolicy encryptionPolicy)
init(_ innerStream: Stream, _ leaveInnerStreamOpen: Boolean, _ userCertificateValidationCallback: RemoteCertificateValidationCallback, _ userCertificateSelectionCallback: LocalCertificateSelectionCallback, _ encryptionPolicy: EncryptionPolicy)
Sub New(innerStream As Stream, leaveInnerStreamOpen As Boolean, userCertificateValidationCallback As RemoteCertificateValidationCallback, userCertificateSelectionCallback As LocalCertificateSelectionCallback, encryptionPolicy As EncryptionPolicy)
Parameters:
- innerStream:
- leaveInnerStreamOpen:
- userCertificateValidationCallback:
- userCertificateSelectionCallback:
- encryptionPolicy:
AuthenticateAsClient (String) virtual
method AuthenticateAsClient(targetHost: String)
void AuthenticateAsClient(String targetHost)
func AuthenticateAsClient(_ targetHost: String)
Sub AuthenticateAsClient(targetHost As String)
Parameters:
- targetHost:
AuthenticateAsClient (String, X509CertificateCollection, SslProtocols, Boolean) virtual
method AuthenticateAsClient(targetHost: String; clientCertificates: X509CertificateCollection; enabledSslProtocols: SslProtocols; checkCertificateRevocation: Boolean)
void AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
func AuthenticateAsClient(_ targetHost: String, _ clientCertificates: X509CertificateCollection, _ enabledSslProtocols: SslProtocols, _ checkCertificateRevocation: Boolean)
Sub AuthenticateAsClient(targetHost As String, clientCertificates As X509CertificateCollection, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean)
Parameters:
- targetHost:
- clientCertificates:
- enabledSslProtocols:
- checkCertificateRevocation:
AuthenticateAsServer (X509Certificate) virtual
method AuthenticateAsServer(serverCertificate: X509Certificate)
void AuthenticateAsServer(X509Certificate serverCertificate)
func AuthenticateAsServer(_ serverCertificate: X509Certificate)
Sub AuthenticateAsServer(serverCertificate As X509Certificate)
Parameters:
- serverCertificate:
AuthenticateAsServer (X509Certificate, Boolean, SslProtocols, Boolean) virtual
method AuthenticateAsServer(serverCertificate: X509Certificate; clientCertificateRequired: Boolean; enabledSslProtocols: SslProtocols; checkCertificateRevocation: Boolean)
void AuthenticateAsServer(X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
func AuthenticateAsServer(_ serverCertificate: X509Certificate, _ clientCertificateRequired: Boolean, _ enabledSslProtocols: SslProtocols, _ checkCertificateRevocation: Boolean)
Sub AuthenticateAsServer(serverCertificate As X509Certificate, clientCertificateRequired As Boolean, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean)
Parameters:
- serverCertificate:
- clientCertificateRequired:
- enabledSslProtocols:
- checkCertificateRevocation:
BeginAuthenticateAsClient (String, AsyncCallback, Object): IAsyncResult virtual
method BeginAuthenticateAsClient(targetHost: String; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginAuthenticateAsClient(String targetHost, AsyncCallback asyncCallback, Object asyncState)
func BeginAuthenticateAsClient(_ targetHost: String, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginAuthenticateAsClient(targetHost As String, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- targetHost:
- asyncCallback:
- asyncState:
BeginAuthenticateAsClient (String, X509CertificateCollection, SslProtocols, Boolean, AsyncCallback, Object): IAsyncResult virtual
method BeginAuthenticateAsClient(targetHost: String; clientCertificates: X509CertificateCollection; enabledSslProtocols: SslProtocols; checkCertificateRevocation: Boolean; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginAuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation, AsyncCallback asyncCallback, Object asyncState)
func BeginAuthenticateAsClient(_ targetHost: String, _ clientCertificates: X509CertificateCollection, _ enabledSslProtocols: SslProtocols, _ checkCertificateRevocation: Boolean, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginAuthenticateAsClient(targetHost As String, clientCertificates As X509CertificateCollection, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- targetHost:
- clientCertificates:
- enabledSslProtocols:
- checkCertificateRevocation:
- asyncCallback:
- asyncState:
BeginAuthenticateAsServer (X509Certificate, AsyncCallback, Object): IAsyncResult virtual
method BeginAuthenticateAsServer(serverCertificate: X509Certificate; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, AsyncCallback asyncCallback, Object asyncState)
func BeginAuthenticateAsServer(_ serverCertificate: X509Certificate, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginAuthenticateAsServer(serverCertificate As X509Certificate, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- serverCertificate:
- asyncCallback:
- asyncState:
BeginAuthenticateAsServer (X509Certificate, Boolean, SslProtocols, Boolean, AsyncCallback, Object): IAsyncResult virtual
method BeginAuthenticateAsServer(serverCertificate: X509Certificate; clientCertificateRequired: Boolean; enabledSslProtocols: SslProtocols; checkCertificateRevocation: Boolean; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation, AsyncCallback asyncCallback, Object asyncState)
func BeginAuthenticateAsServer(_ serverCertificate: X509Certificate, _ clientCertificateRequired: Boolean, _ enabledSslProtocols: SslProtocols, _ checkCertificateRevocation: Boolean, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginAuthenticateAsServer(serverCertificate As X509Certificate, clientCertificateRequired As Boolean, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- serverCertificate:
- clientCertificateRequired:
- enabledSslProtocols:
- checkCertificateRevocation:
- asyncCallback:
- asyncState:
BeginRead virtual
method BeginRead(buffer: array of Byte; offset: Int32; count: Int32; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
func BeginRead(_ buffer: Byte..., _ offset: Int32, _ count: Int32, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginRead(buffer As Byte(), offset As Int32, count As Int32, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- buffer:
- offset:
- count:
- asyncCallback:
- asyncState:
BeginWrite virtual
method BeginWrite(buffer: array of Byte; offset: Int32; count: Int32; asyncCallback: AsyncCallback; asyncState: Object): IAsyncResult
IAsyncResult BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
func BeginWrite(_ buffer: Byte..., _ offset: Int32, _ count: Int32, _ asyncCallback: AsyncCallback, _ asyncState: Object) -> IAsyncResult
Function BeginWrite(buffer As Byte(), offset As Int32, count As Int32, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult
Parameters:
- buffer:
- offset:
- count:
- asyncCallback:
- asyncState:
Close override
method Close
void Close()
func Close()
Sub Close()
CopyTo virtual (declared in Stream)
Copy the content of this stream to another
method CopyTo(Destination: Stream)
void CopyTo(Stream Destination)
func CopyTo(_ Destination: Stream)
Sub CopyTo(Destination As Stream)
Parameters:
- Destination:
Dispose (declared in Stream) Island
Close the stream and underlying resources.
method Dispose
void Dispose()
func Dispose()
Sub Dispose()
EndAuthenticateAsClient virtual
method EndAuthenticateAsClient(asyncResult: IAsyncResult)
void EndAuthenticateAsClient(IAsyncResult asyncResult)
func EndAuthenticateAsClient(_ asyncResult: IAsyncResult)
Sub EndAuthenticateAsClient(asyncResult As IAsyncResult)
Parameters:
- asyncResult:
EndAuthenticateAsServer virtual
method EndAuthenticateAsServer(asyncResult: IAsyncResult)
void EndAuthenticateAsServer(IAsyncResult asyncResult)
func EndAuthenticateAsServer(_ asyncResult: IAsyncResult)
Sub EndAuthenticateAsServer(asyncResult As IAsyncResult)
Parameters:
- asyncResult:
EndRead virtual
method EndRead(asyncResult: IAsyncResult): Int32
Int32 EndRead(IAsyncResult asyncResult)
func EndRead(_ asyncResult: IAsyncResult) -> Int32
Function EndRead(asyncResult As IAsyncResult) As Int32
Parameters:
- asyncResult:
EndWrite virtual
method EndWrite(asyncResult: IAsyncResult)
void EndWrite(IAsyncResult asyncResult)
func EndWrite(_ asyncResult: IAsyncResult)
Sub EndWrite(asyncResult As IAsyncResult)
Parameters:
- asyncResult:
Flush override
method Flush
void Flush()
func Flush()
Sub Flush()
GetLength virtual (declared in Stream)
Returns the length of this stream.
method GetLength: Int64
Int64 GetLength()
func GetLength() -> Int64
Function GetLength() As Int64
GetPosition virtual (declared in Stream)
Returns the current position in this stream.
method GetPosition: Int64
Int64 GetPosition()
func GetPosition() -> Int64
Function GetPosition() As Int64
Read from this stream. Returns the nr of bytes retreived., or 0 when the end has been reached.
method Read(Buffer: array of Byte; Count: Int32): Int32
Int32 Read(Byte[] Buffer, Int32 Count)
func Read(_ Buffer: Byte..., _ Count: Int32) -> Int32
Function Read(Buffer As Byte(), Count As Int32) As Int32
Parameters:
- Buffer:
- Count:
method Read(buffer: array of Byte; offset: Int32; count: Int32): Int32
Int32 Read(Byte[] buffer, Int32 offset, Int32 count)
func Read(_ buffer: Byte..., _ offset: Int32, _ count: Int32) -> Int32
Function Read(buffer As Byte(), offset As Int32, count As Int32) As Int32
Parameters:
- buffer:
- offset:
- count:
ReadByte virtual (declared in Stream)
Reads a byte or returns -1 if the stream has reached the end
method ReadByte: Int32
Int32 ReadByte()
func ReadByte() -> Int32
Function ReadByte() As Int32
method ReadByte(out aResult: Byte): Boolean
Boolean ReadByte(out Byte aResult)
func ReadByte(_ aResult: inout Byte) -> Boolean
Function ReadByte(<OutAttribute> ByRef aResult As Byte) As Boolean
Parameters:
- aResult:
ReadGuid (declared in Stream)
method ReadGuid(out aResult: Guid): Boolean
Boolean ReadGuid(out Guid aResult)
func ReadGuid(_ aResult: inout Guid) -> Boolean
Function ReadGuid(<OutAttribute> ByRef aResult As Guid) As Boolean
Parameters:
- aResult:
ReadUInt16BE (declared in Stream)
method ReadUInt16BE(out aResult: UInt16): Boolean
Boolean ReadUInt16BE(out UInt16 aResult)
func ReadUInt16BE(_ aResult: inout UInt16) -> Boolean
Function ReadUInt16BE(<OutAttribute> ByRef aResult As UInt16) As Boolean
Parameters:
- aResult:
ReadUInt16LE (declared in Stream)
method ReadUInt16LE(out aResult: UInt16): Boolean
Boolean ReadUInt16LE(out UInt16 aResult)
func ReadUInt16LE(_ aResult: inout UInt16) -> Boolean
Function ReadUInt16LE(<OutAttribute> ByRef aResult As UInt16) As Boolean
Parameters:
- aResult:
ReadUInt32BE (declared in Stream)
method ReadUInt32BE(out aResult: UInt32): Boolean
Boolean ReadUInt32BE(out UInt32 aResult)
func ReadUInt32BE(_ aResult: inout UInt32) -> Boolean
Function ReadUInt32BE(<OutAttribute> ByRef aResult As UInt32) As Boolean
Parameters:
- aResult:
ReadUInt32LE (declared in Stream)
method ReadUInt32LE(out aResult: UInt32): Boolean
Boolean ReadUInt32LE(out UInt32 aResult)
func ReadUInt32LE(_ aResult: inout UInt32) -> Boolean
Function ReadUInt32LE(<OutAttribute> ByRef aResult As UInt32) As Boolean
Parameters:
- aResult:
ReadUInt64BE (declared in Stream)
method ReadUInt64BE(out aResult: UInt64): Boolean
Boolean ReadUInt64BE(out UInt64 aResult)
func ReadUInt64BE(_ aResult: inout UInt64) -> Boolean
Function ReadUInt64BE(<OutAttribute> ByRef aResult As UInt64) As Boolean
Parameters:
- aResult:
ReadUInt64LE (declared in Stream)
method ReadUInt64LE(out aResult: UInt64): Boolean
Boolean ReadUInt64LE(out UInt64 aResult)
func ReadUInt64LE(_ aResult: inout UInt64) -> Boolean
Function ReadUInt64LE(<OutAttribute> ByRef aResult As UInt64) As Boolean
Parameters:
- aResult:
Seek override
method Seek(offset: Int64; origin: SeekOrigin): Int64
Int64 Seek(Int64 offset, SeekOrigin origin)
func Seek(_ offset: Int64, _ origin: SeekOrigin) -> Int64
Function Seek(offset As Int64, origin As SeekOrigin) As Int64
Parameters:
- offset:
- origin:
SetPosition virtual (declared in Stream) Island
Sets the absolute position in the stream.
method SetPosition(Value: Int64)
void SetPosition(Int64 Value)
func SetPosition(_ Value: Int64)
Sub SetPosition(Value As Int64)
Parameters:
- Value:
Write (array of Byte) virtual
method Write(buffer: array of Byte)
void Write(Byte[] buffer)
func Write(_ buffer: Byte...)
Sub Write(buffer As Byte())
Parameters:
- buffer:
method Write(Buffer: array of Byte): Int32
Int32 Write(Byte[] Buffer)
func Write(_ Buffer: Byte...) -> Int32
Function Write(Buffer As Byte()) As Int32
Parameters:
- Buffer:
Writes data to the stream.
method Write(Buffer: array of Byte; Count: Int32): Int32
Int32 Write(Byte[] Buffer, Int32 Count)
func Write(_ Buffer: Byte..., _ Count: Int32) -> Int32
Function Write(Buffer As Byte(), Count As Int32) As Int32
Parameters:
- Buffer:
- Count:
method Write(buffer: array of Byte; offset: Int32; count: Int32): Int32
Int32 Write(Byte[] buffer, Int32 offset, Int32 count)
func Write(_ buffer: Byte..., _ offset: Int32, _ count: Int32) -> Int32
Function Write(buffer As Byte(), offset As Int32, count As Int32) As Int32
Parameters:
- buffer:
- offset:
- count:
WriteByte virtual (declared in Stream)
Writes data to the stream.
method WriteByte(aValue: Byte)
void WriteByte(Byte aValue)
func WriteByte(_ aValue: Byte)
Sub WriteByte(aValue As Byte)
Parameters:
- aValue:
WriteGuid (declared in Stream)
method WriteGuid(value: Guid): Boolean
Boolean WriteGuid(Guid value)
func WriteGuid(_ value: Guid) -> Boolean
Function WriteGuid(value As Guid) As Boolean
Parameters:
- value:
WriteUInt16BE (declared in Stream)
method WriteUInt16BE(value: UInt16): Boolean
Boolean WriteUInt16BE(UInt16 value)
func WriteUInt16BE(_ value: UInt16) -> Boolean
Function WriteUInt16BE(value As UInt16) As Boolean
Parameters:
- value:
WriteUInt16LE (declared in Stream)
method WriteUInt16LE(value: UInt16): Boolean
Boolean WriteUInt16LE(UInt16 value)
func WriteUInt16LE(_ value: UInt16) -> Boolean
Function WriteUInt16LE(value As UInt16) As Boolean
Parameters:
- value:
WriteUInt32BE (declared in Stream)
method WriteUInt32BE(value: UInt32): Boolean
Boolean WriteUInt32BE(UInt32 value)
func WriteUInt32BE(_ value: UInt32) -> Boolean
Function WriteUInt32BE(value As UInt32) As Boolean
Parameters:
- value:
WriteUInt32LE (declared in Stream)
method WriteUInt32LE(value: UInt32): Boolean
Boolean WriteUInt32LE(UInt32 value)
func WriteUInt32LE(_ value: UInt32) -> Boolean
Function WriteUInt32LE(value As UInt32) As Boolean
Parameters:
- value:
WriteUInt64BE (declared in Stream)
method WriteUInt64BE(value: UInt64): Boolean
Boolean WriteUInt64BE(UInt64 value)
func WriteUInt64BE(_ value: UInt64) -> Boolean
Function WriteUInt64BE(value As UInt64) As Boolean
Parameters:
- value:
WriteUInt64LE (declared in Stream)
method WriteUInt64LE(value: UInt64): Boolean
Boolean WriteUInt64LE(UInt64 value)
func WriteUInt64LE(_ value: UInt64) -> Boolean
Function WriteUInt64LE(value As UInt64) As Boolean
Parameters:
- value: