Esempio n. 1
0
        public static bool PinFOGCert()
        {
            var certPath = Path.Combine(Instance.GetLocation(), "fog.ca.cer");

            ExtractResource("FOG.Scripts.fog-ca.cer", certPath, true);
            return(GenericSetup.InstallFOGCert(certPath));
        }
Esempio n. 2
0
 public static bool SaveSettings(string https, string usetray, string webaddress, string webroot,
                                 string company, string rootLog, string version = ClientVersion, string location = null)
 {
     return(GenericSetup.SaveSettings(https, usetray, webaddress, webroot, company,
                                      rootLog, version, location ?? Instance.GetLocation()));
 }
Esempio n. 3
0
 public static bool PinServerCert(string location, bool preset = false)
 {
     return(GenericSetup.PinServerCert(location, preset));
 }