Esempio n. 1
0
        public void AfterUnlock()
        {
            if (unlock)
            {
                //installer implementation
                var dependency = new FileHandler("Dependency2.cs");
                //dependency.FileWrite(Strings.encrypted);
                //string fromFile = dependency.GetContents();
                //char[] decryptFromFile = decrypt.RemoveSharedLayer1(Conversion.StringToChar(fromFile));
                //char[] decryptFromFile2 = decrypt.RemovePrivateLayer2(decryptFromFile, 3);

                dependency.FileWrite(Client.Strings.dependency2Content);
                //SystemHandler.RestartSystem("path");
                SystemHandler.SetDependency(Dependency2.NewDependency());
                //dependency.DeleteFile();
            }

            else
            {
                softwareLock.NetworkNotify("error");
            }
        }
Esempio n. 2
0
 public void Startup()
 {
     //startup operations client
     SystemHandler.SetDependency(Dependency1.OriginalDependency());
 }