Ejemplo n.º 1
0
 public override string ToString()
 {
     return("Hostname: " + Hostname + "\r\n"
            + "Ip: " + Ip + "\r\n"
            + "Status: " + Status + "\r\n"
            + "Status message: " + StatusMessage + "\r\n"
            + "Expiry date: " + ExpiryDate.ToLongDateString() + "\r\n"
            + "Creation date: " + CreationDate.ToLongDateString() + "\r\n"
            + "Last update: " + LastUpdateDate.ToLongDateString() + "\r\n"
            + "Status check date: " + StatusCheckDate.ToLongDateString() + "\r\n");
 }