Mac Guides | Samples

MonoMac.Foundation.NSStream Class

Abstract class for Foundation Streams.

See Also: NSStream

Syntax

[MonoMac.Foundation.Register("NSStream", true)]
public class NSStream : NSObject

Requirements

Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.Foundation.NSStream are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes when the derived class has an [Export] constructor.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
static
DataWrittenToMemoryStreamKeyNSString. Represents the value associated with the constant NSStreamDataWrittenToMemoryStreamKey
DelegateNSStreamDelegate. An instance of the MonoMac.Foundation.NSStreamDelegate model class which acts as the class delegate.
[read-only]
ErrorNSError.
[read-only]
static
FileCurrentOffsetKeyNSString. Represents the value associated with the constant NSStreamFileCurrentOffsetKey
default property
Item(NSString)NSObject.
[read-only]
static
NetworkServiceTypeNSString. Represents the value associated with the constant NSStreamNetworkServiceType
[read-only]
static
NetworkServiceTypeBackgroundNSString. Represents the value associated with the constant NSStreamNetworkServiceTypeBackground
[read-only]
static
NetworkServiceTypeVideoNSString. Represents the value associated with the constant NSStreamNetworkServiceTypeVideo
[read-only]
static
NetworkServiceTypeVoiceNSString. Represents the value associated with the constant NSStreamNetworkServiceTypeVoice
[read-only]
static
NetworkServiceTypeVoIPNSString. Represents the value associated with the constant NSStreamNetworkServiceTypeVoIP
[read-only]
static
SocketSecurityLevelKeyNSString. Represents the value associated with the constant NSStreamSocketSecurityLevelKey
[read-only]
static
SocketSecurityLevelNegotiatedSslNSString. Represents the value associated with the constant NSStreamSocketSecurityLevelNegotiatedSSL
[read-only]
static
SocketSecurityLevelNoneNSString. Represents the value associated with the constant NSStreamSocketSecurityLevelNone
[read-only]
static
SocketSecurityLevelSslV2NSString. Represents the value associated with the constant NSStreamSocketSecurityLevelSSLv2
[read-only]
static
SocketSecurityLevelSslV3NSString. Represents the value associated with the constant NSStreamSocketSecurityLevelSSLv3
[read-only]
static
SocketSecurityLevelTlsV1NSString. Represents the value associated with the constant NSStreamSocketSecurityLevelTLSv1
[read-only]
static
SocketSslErrorDomainNSString. Represents the value associated with the constant NSStreamSocketSSLErrorDomain
[read-only]
static
SocksErrorDomainNSString. Represents the value associated with the constant NSStreamSOCKSErrorDomain
[read-only]
static
SocksProxyConfigurationKeyNSString. Represents the value associated with the constant NSStreamSOCKSProxyConfigurationKey
[read-only]
static
SocksProxyHostKeyNSString. Represents the value associated with the constant NSStreamSOCKSProxyHostKey
[read-only]
static
SocksProxyPasswordKeyNSString. Represents the value associated with the constant NSStreamSOCKSProxyPasswordKey
[read-only]
static
SocksProxyPortKeyNSString. Represents the value associated with the constant NSStreamSOCKSProxyPortKey
[read-only]
static
SocksProxyUserKeyNSString. Represents the value associated with the constant NSStreamSOCKSProxyUserKey
[read-only]
static
SocksProxyVersion4NSString. Represents the value associated with the constant NSStreamSOCKSProxyVersion4
[read-only]
static
SocksProxyVersion5NSString. Represents the value associated with the constant NSStreamSOCKSProxyVersion5
[read-only]
static
SocksProxyVersionKeyNSString. Represents the value associated with the constant NSStreamSOCKSProxyVersionKey
[read-only]
StatusNSStreamStatus.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Public Methods

Protected Methods

override
Dispose(Boolean)
Releases the resourced used by the NSStream object.

Public Events