Ejemplo n.º 1
0
 public ReadOnlySpan <ConnectionInfo> GetConnections(Span <ConnectionInfo> store)
 {
     return(NtCore.GetConnections(Handle, store));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets a list of all the connections attached to this instance.
 /// </summary>
 /// <remarks>
 /// Note that connections do not propogate through the server to clients.
 /// This means that a client will see at most 1 connection, and the server will see
 /// all connections to itself.
 /// </remarks>
 /// <returns>An array of all connections attached to this instance.</returns>
 public static List <ConnectionInfo> Connections()
 {
     return(NtCore.GetConnections());
 }
Ejemplo n.º 3
0
        public ReadOnlySpan <ConnectionInfo> GetConnections()
        {
            Span <ConnectionInfo> store = Span <ConnectionInfo> .Empty;

            return(NtCore.GetConnections(Handle, store));
        }