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)); }
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())); }
public static bool PinServerCert(string location, bool preset = false) { return(GenericSetup.PinServerCert(location, preset)); }