Esempio n. 1
0
 /// <summary>
 /// Removes the software from black list.
 /// </summary>
 /// <param name="BlackSoftwareName">Name of the black software.</param>
 /// <returns></returns>
 public bool RemoveSoftwareFromBlackList(string BlackSoftwareName)
 {
     mbsmd.RemoveBlackSoftwareFromDB(BlackSoftwareName);
     return(BlackSoftwareList.Remove(BlackSoftwareName));
 }
Esempio n. 2
0
 /// <summary>
 /// Adds the software to black list.
 /// </summary>
 /// <param name="BlackSoftwareName">Name of the black software.</param>
 public void AddSoftwareToBlackList(string BlackSoftwareName)
 {
     mbsmd.AddBlackSoftwareToDB(BlackSoftwareName);
     BlackSoftwareList.Add(BlackSoftwareName);
 }