protected virtual void OnClientConnected(ClientConnectedEventArgs e) { var handler = ClientConnected; if (handler != null) { handler(this, e); } }
private void listener_ClientConnected(object sender, ClientConnectedEventArgs e) { GlassClientManager.RegisterClient(e.Client); e.Client.WriteLine(GlassProtocol.RequestCurrentDirectory); }