RingDotNetfor Ring

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

NameTypeAccessIn Ring
TransmissionModePipeTransmissionModereado.getTransmissionMode()
ReadModePipeTransmissionModewriteo.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

NameTypeAccessIn Ring
ClientSafePipeHandleSafePipeHandlereado.ClientSafePipeHandle
TransmissionModePipeTransmissionModereado.getTransmissionMode()
ReadModePipeTransmissionModewriteo.getReadMode() o.setReadMode(v)

Methods

MethodRing call.NET overloads
DisposeLocalCopyOfClientHandlecallMethod("DisposeLocalCopyOfClientHandle",[])void DisposeLocalCopyOfClientHandle()
GetClientHandleAsStringcallMethod("GetClientHandleAsString",[])string GetClientHandleAsString()

Members of the base class are inherited.

AnonymousPipeServerStreamAcl class static

System.IO.Pipes.AnonymousPipeServerStreamAcl · assembly System.IO.Pipes

Methods

MethodRing call.NET overloads
CreateCreate(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

NameTypeAccessIn Ring
NumberOfServerInstancesintreado.NumberOfServerInstances

Methods

MethodRing call.NET overloads
ConnectcallMethod("Connect",[])
callMethod("Connect",[p1])
void Connect()
void Connect(int timeout)
void Connect(TimeSpan timeout)
ConnectAsyncConnectAsync(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

NameTypeAccessIn Ring
MaxAllowedServerInstancesintconstant · statico.MaxAllowedServerInstances

Methods

MethodRing call.NET overloads
BeginWaitForConnectioncallMethod("BeginWaitForConnection",[p1,p2])IAsyncResult BeginWaitForConnection(AsyncCallback callback, object state)
DisconnectcallMethod("Disconnect",[])void Disconnect()
EndWaitForConnectionEndWaitForConnection(p1)void EndWaitForConnection(IAsyncResult asyncResult)
GetImpersonationUserNamecallMethod("GetImpersonationUserName",[])string GetImpersonationUserName()
RunAsClientRunAsClient(p1)void RunAsClient(PipeStreamImpersonationWorker impersonationWorker)
WaitForConnectioncallMethod("WaitForConnection",[])void WaitForConnection()
WaitForConnectionAsyncWaitForConnectionAsync(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

MethodRing call.NET overloads
CreateCreate([ :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

NameTypeAccessIn Ring
PipeAccessRightsPipeAccessRightsreado.PipeAccessRights
AccessControlTypeAccessControlTypereado.AccessControlType
IdentityReferenceIdentityReferencereado.IdentityReference
IsInheritedboolreado.IsInherited
InheritanceFlagsInheritanceFlagsreado.InheritanceFlags
PropagationFlagsPropagationFlagsreado.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

NameTypeAccessIn Ring
PipeAccessRightsPipeAccessRightsreado.PipeAccessRights
AuditFlagsAuditFlagsreado.AuditFlags
IdentityReferenceIdentityReferencereado.IdentityReference
IsInheritedboolreado.IsInherited
InheritanceFlagsInheritanceFlagsreado.InheritanceFlags
PropagationFlagsPropagationFlagsreado.PropagationFlags

Members of the base class are inherited.

PipesAclExtensions class static

System.IO.Pipes.PipesAclExtensions · assembly System.IO.Pipes

Methods

MethodRing call.NET overloads
GetAccessControlGetAccessControl(p1)static PipeSecurity GetAccessControl(PipeStream stream)
SetAccessControlSetAccessControl(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

NameTypeAccessIn Ring
AccessRightTypeTypereado.AccessRightType
AccessRuleTypeTypereado.AccessRuleType
AuditRuleTypeTypereado.AuditRuleType
AreAccessRulesProtectedboolreado.AreAccessRulesProtected
AreAuditRulesProtectedboolreado.AreAuditRulesProtected
AreAccessRulesCanonicalboolreado.AreAccessRulesCanonical
AreAuditRulesCanonicalboolreado.AreAuditRulesCanonical

Methods

MethodRing call.NET overloads
AccessRuleFactorycallMethod("AccessRuleFactory",[p1,p2,p3,p4,p5,p6])AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
AddAccessRuleAddAccessRule(p1)void AddAccessRule(PipeAccessRule rule)
AddAuditRuleAddAuditRule(p1)void AddAuditRule(PipeAuditRule rule)
AuditRuleFactorycallMethod("AuditRuleFactory",[p1,p2,p3,p4,p5,p6])AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
GetAccessRulescallMethod("GetAccessRules",[p1,p2,p3])AuthorizationRuleCollection GetAccessRules(bool includeExplicit, bool includeInherited, Type targetType)
GetAuditRulescallMethod("GetAuditRules",[p1,p2,p3])AuthorizationRuleCollection GetAuditRules(bool includeExplicit, bool includeInherited, Type targetType)
GetGroupcallMethod("GetGroup",[p1])IdentityReference GetGroup(Type targetType)
GetOwnercallMethod("GetOwner",[p1])IdentityReference GetOwner(Type targetType)
GetSecurityDescriptorBinaryFormcallMethod("GetSecurityDescriptorBinaryForm",[])byte[] GetSecurityDescriptorBinaryForm()
GetSecurityDescriptorSddlFormGetSecurityDescriptorSddlForm(p1)string GetSecurityDescriptorSddlForm(AccessControlSections includeSections)
ModifyAccessRuleModifyAccessRule(p1,p2)bool ModifyAccessRule(AccessControlModification modification, AccessRule rule, out bool modified)
ModifyAuditRuleModifyAuditRule(p1,p2)bool ModifyAuditRule(AccessControlModification modification, AuditRule rule, out bool modified)
PurgeAccessRulesPurgeAccessRules(p1)void PurgeAccessRules(IdentityReference identity)
PurgeAuditRulesPurgeAuditRules(p1)void PurgeAuditRules(IdentityReference identity)
RemoveAccessRuleRemoveAccessRule(p1)bool RemoveAccessRule(PipeAccessRule rule)
RemoveAccessRuleSpecificRemoveAccessRuleSpecific(p1)void RemoveAccessRuleSpecific(PipeAccessRule rule)
RemoveAuditRuleRemoveAuditRule(p1)bool RemoveAuditRule(PipeAuditRule rule)
RemoveAuditRuleAllRemoveAuditRuleAll(p1)void RemoveAuditRuleAll(PipeAuditRule rule)
RemoveAuditRuleSpecificRemoveAuditRuleSpecific(p1)void RemoveAuditRuleSpecific(PipeAuditRule rule)
ResetAccessRuleResetAccessRule(p1)void ResetAccessRule(PipeAccessRule rule)
SetAccessRuleSetAccessRule(p1)void SetAccessRule(PipeAccessRule rule)
SetAccessRuleProtectioncallMethod("SetAccessRuleProtection",[p1,p2])void SetAccessRuleProtection(bool isProtected, bool preserveInheritance)
SetAuditRuleSetAuditRule(p1)void SetAuditRule(PipeAuditRule rule)
SetAuditRuleProtectioncallMethod("SetAuditRuleProtection",[p1,p2])void SetAuditRuleProtection(bool isProtected, bool preserveInheritance)
SetGroupSetGroup(p1)void SetGroup(IdentityReference identity)
SetOwnerSetOwner(p1)void SetOwner(IdentityReference identity)
SetSecurityDescriptorBinaryFormcallMethod("SetSecurityDescriptorBinaryForm",[p1])
callMethod("SetSecurityDescriptorBinaryForm",[p1,p2])
void SetSecurityDescriptorBinaryForm(byte[] binaryForm)
void SetSecurityDescriptorBinaryForm(byte[] binaryForm, AccessControlSections includeSections)
SetSecurityDescriptorSddlFormcallMethod("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

NameTypeAccessIn Ring
IsConnectedboolreado.IsConnected
IsAsyncboolreado.IsAsync
IsMessageCompleteboolreado.IsMessageComplete
SafePipeHandleSafePipeHandlereado.SafePipeHandle
CanReadboolreado.getCanRead()
CanWriteboolreado.getCanWrite()
CanSeekboolreado.getCanSeek()
Lengthlongreado.getLength()
Positionlongread, writeo.getPosition() o.setPosition(v)
TransmissionModePipeTransmissionModereado.TransmissionMode
InBufferSizeintreado.InBufferSize
OutBufferSizeintreado.OutBufferSize
ReadModePipeTransmissionModeread, writeo.ReadMode o.ReadMode = v

Methods

MethodRing call.NET overloads
BeginReadcallMethod("BeginRead",[p1,p2,p3,p4,p5])IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
BeginWritecallMethod("BeginWrite",[p1,p2,p3,p4,p5])IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
EndReadEndRead(p1)int EndRead(IAsyncResult asyncResult)
EndWriteEndWrite(p1)void EndWrite(IAsyncResult asyncResult)
FlushcallMethod("Flush",[])void Flush()
FlushAsyncFlushAsync(value)
FlushAsync([ :cancellationToken = … ])
Task FlushAsync(CancellationToken cancellationToken)
ReadRead(p1,p2,p3)int Read(byte[] buffer, int offset, int count)
int Read(Span<byte> buffer)
ReadAsyncReadAsync([ :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 = …)
ReadBytecallMethod("ReadByte",[])int ReadByte()
SeekSeek(p1,p2)long Seek(long offset, SeekOrigin origin)
SetLengthcallMethod("SetLength",[p1])void SetLength(long value)
WaitForPipeDraincallMethod("WaitForPipeDrain",[])void WaitForPipeDrain()
WriteWrite(p1,p2,p3)void Write(byte[] buffer, int offset, int count)
void Write(ReadOnlySpan<byte> buffer)
WriteAsyncWriteAsync([ :buffer = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = …)
WriteBytecallMethod("WriteByte",[p1])void WriteByte(byte value)

Members of the base class are inherited.