Esempio n. 1
0
 /// <summary>
 /// Blocks A Country
 /// </summary>
 /// <param name="C">Country</param>
 /// <param name="IPList">IP Address List to Block</param>
 /// <param name="D">Direction to Block</param>
 /// <remarks>This first completely unblocks said Country</remarks>
 public static void BlockCountry(Country C, string[] IPList, Direction D = Direction.Both)
 {
     BlockCountry(C.Code, IPList, D);
 }
Esempio n. 2
0
 /// <summary>
 /// Unblocks A Country
 /// </summary>
 /// <param name="C">Country</param>
 /// <param name="D">Direction to Unblock</param>
 public static void UnblockCountry(Country C, Direction D = Direction.Both)
 {
     UnblockCountry(C.Code, D);
 }