Esempio n. 1
0
        void SignAssembly(string targetExecutableFile)
        {
            var selfSignedCertificate = InstallCertificateIfNotFound();

            signHelper.SignAssemblyWithCertificate(targetExecutableFile, selfSignedCertificate);

            logger.Information("Executable signed with newly created self-signing certificate.");
        }
Esempio n. 2
0
        void SignAssembly()
        {
            var selfSignedCertificate = InstallCertificateIfNotFound();

            signHelper.SignAssemblyWithCertificate(
                TargetExecutableFile,
                selfSignedCertificate);

            threadDelay.Execute(1000);

            Logger.Information("Executable signed with newly created self-signing certificate.");
        }