public bool DeleteImage(string userName, string password, string imageFileName) { using (SecureData sd = new SecureData(false, Login(userName, password))) { return(sd.DeleteImage(imageFileName)); } }