C# Class UlteriusAgent.Networking.AgentServer

Afficher le fichier Open project: Ulterius/server

Méthodes publiques

Méthode Description
AcceptClientsAsync ( TcpListener listener, CancellationToken cancel ) : Task
CaptureDesktop ( ) : Bitmap
HandleClientAsync ( TcpClient client, CancellationToken cancel ) : Task
ImageToByte ( Image img, bool convertToJpeg = false ) : byte[]
Start ( ) : void

Private Methods

Méthode Description
HandleCtrlAltDel ( ) : void
HandleMouseDown ( ) : void
HandleMouseScroll ( string deltaString ) : void
HandleMouseUp ( ) : void
HandleRightClick ( ) : void
HandleRightDown ( ) : void
HandleRightUp ( ) : void
KeyDown ( string endpointArgs ) : void
Keyup ( string endpointArgs ) : void
MoveMouse ( int x, int y ) : void
SendCleanFrame ( ) : byte[]
SendFullFrame ( ) : byte[]

Method Details

AcceptClientsAsync() public static méthode

public static AcceptClientsAsync ( TcpListener listener, CancellationToken cancel ) : Task
listener System.Net.Sockets.TcpListener
cancel System.Threading.CancellationToken
Résultat Task

CaptureDesktop() public static méthode

public static CaptureDesktop ( ) : Bitmap
Résultat System.Drawing.Bitmap

HandleClientAsync() public static méthode

public static HandleClientAsync ( TcpClient client, CancellationToken cancel ) : Task
client System.Net.Sockets.TcpClient
cancel System.Threading.CancellationToken
Résultat Task

ImageToByte() public static méthode

public static ImageToByte ( Image img, bool convertToJpeg = false ) : byte[]
img Image
convertToJpeg bool
Résultat byte[]

Start() public static méthode

public static Start ( ) : void
Résultat void