/// <summary> /// Reads the DNS entry's from the JSON stored file. /// </summary> public void LoadDomainNameTable() { //get the DNS records from a JSON file and put the data into the local DNS root record. DNSRecord _root = JsonStorageHelper.GetStorageFileContents <DNSRecord>(RootDNSFileStorageName); if (_root == null) { CreateDNSStructureFile(); LoadDomainNameTable(); return; } else if (_root.HasSubDomains()) { Root.SubDomains = _root.SubDomains; } }