Esempio n. 1
0
        public static void Delete_CrossRef_AniDB_Trakt(int animeID)
        {
            if (!ServerSettings.WebCache_XRefFileEpisode_Send)
            {
                return;
            }
            if (ServerSettings.WebCache_Anonymous)
            {
                return;
            }

            string uri = string.Format("http://{0}/DeleteCrossRef_AniDB_Trakt.aspx", ServerSettings.WebCache_Address);
            DeleteCrossRef_AniDB_TraktRequest req = new DeleteCrossRef_AniDB_TraktRequest(animeID);
            string xml = req.ToXML();

            SendData(uri, xml);
        }
Esempio n. 2
0
		public static void Delete_CrossRef_AniDB_Trakt(int animeID)
		{
			if (!ServerSettings.WebCache_XRefFileEpisode_Send) return;
			if (ServerSettings.WebCache_Anonymous) return;

			string uri = string.Format("http://{0}/DeleteCrossRef_AniDB_Trakt.aspx", ServerSettings.WebCache_Address);
			DeleteCrossRef_AniDB_TraktRequest req = new DeleteCrossRef_AniDB_TraktRequest(animeID);
			string xml = req.ToXML();

			SendData(uri, xml);
		}