I want to create whois class like that
public class DomainInfo{ public string NameServer {get;set;} public string CreationDate {get;set;} public string UpdatedDate {get;set;} public string ExpirationDate {get;set;} public string Status {get;set;} public string RegistrantName {get;set;} public string RegistrantOrganization {get;set;} public string Registrantemail {get;set;} public static DomainInfo Parse(string inputData) { ...... }}
But I have some problems because different DNS servers return different answers and it's a very difficult task to parse returned answers. How can this be done?