コード例 #1
0
 /// <inheritdoc cref="object.ToString" />
 public override string ToString()
 {
     return(string.Format
            (
                "Number: {0}, IPAddress: {1}, "
                + "Name: {2}, ID: {3}, Workstation: {4}, "
                + "Started: {5}, LastCommand: {6}, "
                + "CommandNumber: {7}, ProcessID: {8}, "
                + "State: {9}",
                Number.ToVisibleString(),
                IPAddress.ToVisibleString(),
                Name.ToVisibleString(),
                ClientID.ToVisibleString(),
                Workstation.ToVisibleString(),
                Started.ToVisibleString(),
                LastCommand.ToVisibleString(),
                CommandNumber.ToVisibleString(),
                ProcessID.ToVisibleString(),
                State.ToVisibleString()
            ));
 }