System.IO.Pipes
11 wrapped types. Load them with using { "System.IO.Pipes" }. Click a class to open it.
AnonymousPipeClientStream class sealed · extends PipeStream
System.IO.Pipes.AnonymousPipeClientStream · assembly System.IO.Pipes
Implements: IDisposable, IAsyncDisposable
Constructors
new AnonymousPipeClientStream(string pipeHandleAsString) |
new AnonymousPipeClientStream(PipeDirection direction, string pipeHandleAsString) |
new AnonymousPipeClientStream(PipeDirection direction, SafePipeHandle safePipeHandle) |
Ring: new AnonymousPipeClientStream(args) uses one constructor; the others are chosen by the parameter names: new AnonymousPipeClientStream().@New([ :param = value ]) or dnNew("AnonymousPipeClientStream",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TransmissionMode | PipeTransmissionMode | read | o.getTransmissionMode() |
ReadMode | PipeTransmissionMode | write | o.getReadMode() o.setReadMode(v) |
Members of the base class are inherited.
AnonymousPipeServerStream class sealed · extends PipeStream
System.IO.Pipes.AnonymousPipeServerStream · assembly System.IO.Pipes
Implements: IDisposable, IAsyncDisposable
Constructors
new AnonymousPipeServerStream() |
new AnonymousPipeServerStream(PipeDirection direction) |
new AnonymousPipeServerStream(PipeDirection direction, HandleInheritability inheritability) |
new AnonymousPipeServerStream(PipeDirection direction, SafePipeHandle serverSafePipeHandle, SafePipeHandle clientSafePipeHandle) |
new AnonymousPipeServerStream(PipeDirection direction, HandleInheritability inheritability, int bufferSize) |
Ring: new AnonymousPipeServerStream(args) uses one constructor; the others are chosen by the parameter names: new AnonymousPipeServerStream().@New([ :param = value ]) or dnNew("AnonymousPipeServerStream",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ClientSafePipeHandle | SafePipeHandle | read | o.ClientSafePipeHandle |
TransmissionMode | PipeTransmissionMode | read | o.getTransmissionMode() |
ReadMode | PipeTransmissionMode | write | o.getReadMode() o.setReadMode(v) |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DisposeLocalCopyOfClientHandle | callMethod("DisposeLocalCopyOfClientHandle",[]) | void DisposeLocalCopyOfClientHandle() |
GetClientHandleAsString | callMethod("GetClientHandleAsString",[]) | string GetClientHandleAsString() |
Members of the base class are inherited.
AnonymousPipeServerStreamAcl class static
System.IO.Pipes.AnonymousPipeServerStreamAcl · assembly System.IO.Pipes
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create(p1,p2,p3,p4) | static AnonymousPipeServerStream Create(PipeDirection direction, HandleInheritability inheritability, int bufferSize, PipeSecurity pipeSecurity) |
NamedPipeClientStream class sealed · extends PipeStream
System.IO.Pipes.NamedPipeClientStream · assembly System.IO.Pipes
Implements: IDisposable, IAsyncDisposable
Constructors
new NamedPipeClientStream(string pipeName) |
new NamedPipeClientStream(string serverName, string pipeName) |
new NamedPipeClientStream(string serverName, string pipeName, PipeDirection direction) |
new NamedPipeClientStream(string serverName, string pipeName, PipeDirection direction, PipeOptions options) |
new NamedPipeClientStream(string serverName, string pipeName, PipeDirection direction, PipeOptions options, TokenImpersonationLevel impersonationLevel) |
new NamedPipeClientStream(string serverName, string pipeName, PipeDirection direction, PipeOptions options, TokenImpersonationLevel impersonationLevel, HandleInheritability inheritability) |
new NamedPipeClientStream(PipeDirection direction, bool isAsync, bool isConnected, SafePipeHandle safePipeHandle) |
new NamedPipeClientStream(string serverName, string pipeName, PipeAccessRights desiredAccessRights, PipeOptions options, TokenImpersonationLevel impersonationLevel, HandleInheritability inheritability) |
Ring: new NamedPipeClientStream(args) uses one constructor; the others are chosen by the parameter names: new NamedPipeClientStream().@New([ :param = value ]) or dnNew("NamedPipeClientStream",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NumberOfServerInstances | int | read | o.NumberOfServerInstances |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Connect | callMethod("Connect",[])callMethod("Connect",[p1]) | void Connect()void Connect(int timeout)void Connect(TimeSpan timeout) |
ConnectAsync | ConnectAsync(NULL)ConnectAsync(value)ConnectAsync([ :timeout = … ])ConnectAsync([ :cancellationToken = … ])ConnectAsync([ :timeout = …, :cancellationToken = … ]) | Task ConnectAsync()Task ConnectAsync(int timeout)Task ConnectAsync(CancellationToken cancellationToken)Task ConnectAsync(int timeout, CancellationToken cancellationToken)Task ConnectAsync(TimeSpan timeout, CancellationToken cancellationToken = …) |
Members of the base class are inherited.
NamedPipeServerStream class sealed · extends PipeStream
System.IO.Pipes.NamedPipeServerStream · assembly System.IO.Pipes
Implements: IDisposable, IAsyncDisposable
Constructors
new NamedPipeServerStream(string pipeName) |
new NamedPipeServerStream(string pipeName, PipeDirection direction) |
new NamedPipeServerStream(string pipeName, PipeDirection direction, int maxNumberOfServerInstances) |
new NamedPipeServerStream(string pipeName, PipeDirection direction, int maxNumberOfServerInstances, PipeTransmissionMode transmissionMode) |
new NamedPipeServerStream(string pipeName, PipeDirection direction, int maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options) |
new NamedPipeServerStream(string pipeName, PipeDirection direction, int maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, int inBufferSize, int outBufferSize) |
new NamedPipeServerStream(PipeDirection direction, bool isAsync, bool isConnected, SafePipeHandle safePipeHandle) |
Ring: new NamedPipeServerStream(args) uses one constructor; the others are chosen by the parameter names: new NamedPipeServerStream().@New([ :param = value ]) or dnNew("NamedPipeServerStream",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MaxAllowedServerInstances | int | constant · static | o.MaxAllowedServerInstances |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
BeginWaitForConnection | callMethod("BeginWaitForConnection",[p1,p2]) | IAsyncResult BeginWaitForConnection(AsyncCallback callback, object state) |
Disconnect | callMethod("Disconnect",[]) | void Disconnect() |
EndWaitForConnection | EndWaitForConnection(p1) | void EndWaitForConnection(IAsyncResult asyncResult) |
GetImpersonationUserName | callMethod("GetImpersonationUserName",[]) | string GetImpersonationUserName() |
RunAsClient | RunAsClient(p1) | void RunAsClient(PipeStreamImpersonationWorker impersonationWorker) |
WaitForConnection | callMethod("WaitForConnection",[]) | void WaitForConnection() |
WaitForConnectionAsync | WaitForConnectionAsync(NULL)WaitForConnectionAsync(value)WaitForConnectionAsync([ :cancellationToken = … ]) | Task WaitForConnectionAsync()Task WaitForConnectionAsync(CancellationToken cancellationToken) |
Members of the base class are inherited.
NamedPipeServerStreamAcl class static
System.IO.Pipes.NamedPipeServerStreamAcl · assembly System.IO.Pipes
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create([ :pipeName = …, :direction = …, :maxNumberOfServerInstances = …, :transmissionMode = …, :options = …, :inBufferSize = …, :outBufferSize = …, :pipeSecurity = …, :inheritability = …, :additionalAccessRights = … ]) | static NamedPipeServerStream Create(string pipeName, PipeDirection direction, int maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, int inBufferSize, int outBufferSize, PipeSecurity pipeSecurity, HandleInheritability inheritability = …, PipeAccessRights additionalAccessRights = …) |
PipeAccessRule class sealed · extends AccessRule
System.IO.Pipes.PipeAccessRule · assembly System.IO.Pipes
Constructors
new PipeAccessRule(string identity, PipeAccessRights rights, AccessControlType type) |
new PipeAccessRule(IdentityReference identity, PipeAccessRights rights, AccessControlType type) |
Ring: new PipeAccessRule(args) uses one constructor; the others are chosen by the parameter names: new PipeAccessRule().@New([ :param = value ]) or dnNew("PipeAccessRule",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PipeAccessRights | PipeAccessRights | read | o.PipeAccessRights |
AccessControlType | AccessControlType | read | o.AccessControlType |
IdentityReference | IdentityReference | read | o.IdentityReference |
IsInherited | bool | read | o.IsInherited |
InheritanceFlags | InheritanceFlags | read | o.InheritanceFlags |
PropagationFlags | PropagationFlags | read | o.PropagationFlags |
Members of the base class are inherited.
PipeAuditRule class sealed · extends AuditRule
System.IO.Pipes.PipeAuditRule · assembly System.IO.Pipes
Constructors
new PipeAuditRule(IdentityReference identity, PipeAccessRights rights, AuditFlags flags) |
new PipeAuditRule(string identity, PipeAccessRights rights, AuditFlags flags) |
Ring: new PipeAuditRule(args) uses one constructor; the others are chosen by the parameter names: new PipeAuditRule().@New([ :param = value ]) or dnNew("PipeAuditRule",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PipeAccessRights | PipeAccessRights | read | o.PipeAccessRights |
AuditFlags | AuditFlags | read | o.AuditFlags |
IdentityReference | IdentityReference | read | o.IdentityReference |
IsInherited | bool | read | o.IsInherited |
InheritanceFlags | InheritanceFlags | read | o.InheritanceFlags |
PropagationFlags | PropagationFlags | read | o.PropagationFlags |
Members of the base class are inherited.
PipesAclExtensions class static
System.IO.Pipes.PipesAclExtensions · assembly System.IO.Pipes
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetAccessControl | GetAccessControl(p1) | static PipeSecurity GetAccessControl(PipeStream stream) |
SetAccessControl | SetAccessControl(p1,p2) | static void SetAccessControl(PipeStream stream, PipeSecurity pipeSecurity) |
PipeSecurity class · extends NativeObjectSecurity
System.IO.Pipes.PipeSecurity · assembly System.IO.Pipes
Constructors
new PipeSecurity() |
Ring: new PipeSecurity(args) uses one constructor; the others are chosen by the parameter names: new PipeSecurity().@New([ :param = value ]) or dnNew("PipeSecurity",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AccessRightType | Type | read | o.AccessRightType |
AccessRuleType | Type | read | o.AccessRuleType |
AuditRuleType | Type | read | o.AuditRuleType |
AreAccessRulesProtected | bool | read | o.AreAccessRulesProtected |
AreAuditRulesProtected | bool | read | o.AreAuditRulesProtected |
AreAccessRulesCanonical | bool | read | o.AreAccessRulesCanonical |
AreAuditRulesCanonical | bool | read | o.AreAuditRulesCanonical |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AccessRuleFactory | callMethod("AccessRuleFactory",[p1,p2,p3,p4,p5,p6]) | AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type) |
AddAccessRule | AddAccessRule(p1) | void AddAccessRule(PipeAccessRule rule) |
AddAuditRule | AddAuditRule(p1) | void AddAuditRule(PipeAuditRule rule) |
AuditRuleFactory | callMethod("AuditRuleFactory",[p1,p2,p3,p4,p5,p6]) | AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) |
GetAccessRules | callMethod("GetAccessRules",[p1,p2,p3]) | AuthorizationRuleCollection GetAccessRules(bool includeExplicit, bool includeInherited, Type targetType) |
GetAuditRules | callMethod("GetAuditRules",[p1,p2,p3]) | AuthorizationRuleCollection GetAuditRules(bool includeExplicit, bool includeInherited, Type targetType) |
GetGroup | callMethod("GetGroup",[p1]) | IdentityReference GetGroup(Type targetType) |
GetOwner | callMethod("GetOwner",[p1]) | IdentityReference GetOwner(Type targetType) |
GetSecurityDescriptorBinaryForm | callMethod("GetSecurityDescriptorBinaryForm",[]) | byte[] GetSecurityDescriptorBinaryForm() |
GetSecurityDescriptorSddlForm | GetSecurityDescriptorSddlForm(p1) | string GetSecurityDescriptorSddlForm(AccessControlSections includeSections) |
ModifyAccessRule | ModifyAccessRule(p1,p2) | bool ModifyAccessRule(AccessControlModification modification, AccessRule rule, out bool modified) |
ModifyAuditRule | ModifyAuditRule(p1,p2) | bool ModifyAuditRule(AccessControlModification modification, AuditRule rule, out bool modified) |
PurgeAccessRules | PurgeAccessRules(p1) | void PurgeAccessRules(IdentityReference identity) |
PurgeAuditRules | PurgeAuditRules(p1) | void PurgeAuditRules(IdentityReference identity) |
RemoveAccessRule | RemoveAccessRule(p1) | bool RemoveAccessRule(PipeAccessRule rule) |
RemoveAccessRuleSpecific | RemoveAccessRuleSpecific(p1) | void RemoveAccessRuleSpecific(PipeAccessRule rule) |
RemoveAuditRule | RemoveAuditRule(p1) | bool RemoveAuditRule(PipeAuditRule rule) |
RemoveAuditRuleAll | RemoveAuditRuleAll(p1) | void RemoveAuditRuleAll(PipeAuditRule rule) |
RemoveAuditRuleSpecific | RemoveAuditRuleSpecific(p1) | void RemoveAuditRuleSpecific(PipeAuditRule rule) |
ResetAccessRule | ResetAccessRule(p1) | void ResetAccessRule(PipeAccessRule rule) |
SetAccessRule | SetAccessRule(p1) | void SetAccessRule(PipeAccessRule rule) |
SetAccessRuleProtection | callMethod("SetAccessRuleProtection",[p1,p2]) | void SetAccessRuleProtection(bool isProtected, bool preserveInheritance) |
SetAuditRule | SetAuditRule(p1) | void SetAuditRule(PipeAuditRule rule) |
SetAuditRuleProtection | callMethod("SetAuditRuleProtection",[p1,p2]) | void SetAuditRuleProtection(bool isProtected, bool preserveInheritance) |
SetGroup | SetGroup(p1) | void SetGroup(IdentityReference identity) |
SetOwner | SetOwner(p1) | void SetOwner(IdentityReference identity) |
SetSecurityDescriptorBinaryForm | callMethod("SetSecurityDescriptorBinaryForm",[p1])callMethod("SetSecurityDescriptorBinaryForm",[p1,p2]) | void SetSecurityDescriptorBinaryForm(byte[] binaryForm)void SetSecurityDescriptorBinaryForm(byte[] binaryForm, AccessControlSections includeSections) |
SetSecurityDescriptorSddlForm | callMethod("SetSecurityDescriptorSddlForm",[p1])callMethod("SetSecurityDescriptorSddlForm",[p1,p2]) | void SetSecurityDescriptorSddlForm(string sddlForm)void SetSecurityDescriptorSddlForm(string sddlForm, AccessControlSections includeSections) |
Members of the base class are inherited.
PipeStream class abstract · extends Stream
System.IO.Pipes.PipeStream · assembly System.IO.Pipes
Implements: IDisposable, IAsyncDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsConnected | bool | read | o.IsConnected |
IsAsync | bool | read | o.IsAsync |
IsMessageComplete | bool | read | o.IsMessageComplete |
SafePipeHandle | SafePipeHandle | read | o.SafePipeHandle |
CanRead | bool | read | o.getCanRead() |
CanWrite | bool | read | o.getCanWrite() |
CanSeek | bool | read | o.getCanSeek() |
Length | long | read | o.getLength() |
Position | long | read, write | o.getPosition() o.setPosition(v) |
TransmissionMode | PipeTransmissionMode | read | o.TransmissionMode |
InBufferSize | int | read | o.InBufferSize |
OutBufferSize | int | read | o.OutBufferSize |
ReadMode | PipeTransmissionMode | read, write | o.ReadMode o.ReadMode = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
BeginRead | callMethod("BeginRead",[p1,p2,p3,p4,p5]) | IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) |
BeginWrite | callMethod("BeginWrite",[p1,p2,p3,p4,p5]) | IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) |
EndRead | EndRead(p1) | int EndRead(IAsyncResult asyncResult) |
EndWrite | EndWrite(p1) | void EndWrite(IAsyncResult asyncResult) |
Flush | callMethod("Flush",[]) | void Flush() |
FlushAsync | FlushAsync(value)FlushAsync([ :cancellationToken = … ]) | Task FlushAsync(CancellationToken cancellationToken) |
Read | Read(p1,p2,p3) | int Read(byte[] buffer, int offset, int count)int Read(Span<byte> buffer) |
ReadAsync | ReadAsync([ :buffer = …, :cancellationToken = … ])ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ]) | Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = …) |
ReadByte | callMethod("ReadByte",[]) | int ReadByte() |
Seek | Seek(p1,p2) | long Seek(long offset, SeekOrigin origin) |
SetLength | callMethod("SetLength",[p1]) | void SetLength(long value) |
WaitForPipeDrain | callMethod("WaitForPipeDrain",[]) | void WaitForPipeDrain() |
Write | Write(p1,p2,p3) | void Write(byte[] buffer, int offset, int count)void Write(ReadOnlySpan<byte> buffer) |
WriteAsync | WriteAsync([ :buffer = …, :cancellationToken = … ])WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ]) | Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = …) |
WriteByte | callMethod("WriteByte",[p1]) | void WriteByte(byte value) |
Members of the base class are inherited.