public static void Send_FileHash(VideoLocal data) { if (!ServerSettings.WebCache_FileHashes_Send) { return; } string uri = string.Format("http://{0}/AddFileNameHash.aspx", ServerSettings.WebCache_Address); FileHashRequest fhr = new FileHashRequest(data); string xml = fhr.ToXML(); SendData(uri, xml); }
public static void Send_FileHash(VideoLocal data) { if (!ServerSettings.WebCache_FileHashes_Send) return; string uri = string.Format("http://{0}/AddFileNameHash.aspx", ServerSettings.WebCache_Address); FileHashRequest fhr = new FileHashRequest(data); string xml = fhr.ToXML(); SendData(uri, xml); }