NSStream.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Closes the stream and releases resources associated with it.
[Foundation.Export("close")]
public virtual void Close ();
abstract member Close : unit -> unit
override this.Close : unit -> unit
- Attributes
Remarks
When a stream is closed it can no longer be used for reading or writing.
If the stream has been scheduled to execute on a run loop, the stream is automatically unregistered from it.