C# Class SharpOS.Tools.DiagnosticTool.WindowsNamedPipe

Inheritance: INamedPipe
Afficher le fichier Open project: sharpos/SharpOS Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void
Open ( ) : Client.Status
Read ( byte buffer, uint &count ) : Client.Status
WindowsNamedPipe ( string name ) : System
Write ( byte buffer ) : Client.Status

Private Methods

Méthode Description
CloseHandle ( IntPtr hHandle ) : bool
CreateFile ( string lpFileName, uint dwDesiredAccess, uint dwShareMode, IntPtr attr, uint dwCreationDisposition, uint dwFlagsAndAttributes, IntPtr hTemplateFile ) : IntPtr
GetCommTimeouts ( IntPtr hFile, COMMTIMEOUTS &lpCommTimeouts ) : bool
ReadFile ( IntPtr hHandle, byte lpBuffer, uint nNumberOfBytesToRead, uint &lpNumberOfBytesRead, uint lpOverlapped ) : bool
SetCommTimeouts ( IntPtr hFile, COMMTIMEOUTS &lpCommTimeouts ) : bool
WaitNamedPipe ( string name, int timeout ) : bool
WriteFile ( IntPtr hHandle, byte lpBuffer, uint nNumberOfBytesToWrite, uint &lpNumberOfBytesWritten, uint lpOverlapped ) : bool

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Open() public méthode

public Open ( ) : Client.Status
Résultat Client.Status

Read() public méthode

public Read ( byte buffer, uint &count ) : Client.Status
buffer byte
count uint
Résultat Client.Status

WindowsNamedPipe() public méthode

public WindowsNamedPipe ( string name ) : System
name string
Résultat System

Write() public méthode

public Write ( byte buffer ) : Client.Status
buffer byte
Résultat Client.Status