void SignAssembly(string targetExecutableFile) { var selfSignedCertificate = InstallCertificateIfNotFound(); signHelper.SignAssemblyWithCertificate(targetExecutableFile, selfSignedCertificate); logger.Information("Executable signed with newly created self-signing certificate."); }
void SignAssembly() { var selfSignedCertificate = InstallCertificateIfNotFound(); signHelper.SignAssemblyWithCertificate( TargetExecutableFile, selfSignedCertificate); threadDelay.Execute(1000); Logger.Information("Executable signed with newly created self-signing certificate."); }