locked
How to add Digital Signature in .exe file using C#?

    General discussion



  • i have developed an application in C#. and now i want to add digital signature in my application. I only have the .exe file of application. Tell me how can i add signature in my application???

    I am beginner in C#. please tell in detail...
    Friday, December 26, 2008 11:27 AM

All replies

  • MS has signtool for that.
    Provided that you have installed your Windows SDK at the default place, run

    "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\signtool.exe" signwizard

    This will allow you to choose an executable and a certificate.

    More info about the signtool here:
    http://msdn.microsoft.com/en-us/library/aa387764.aspx

    Of course, you need to get a certificate for signing code. Relatively cheap certs can be obtained from godaddy.com
    Please remember to mark the replies as answers if they answered your question :)
    Friday, December 26, 2008 3:22 PM
  •  

    Hello,

    Actually I think Tan’s reply is really helpful.  Since you removed the answer, could you please offer more detail information on your concern?    We are glad to help.

     

    Best Regards,
    Lingzhi


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/csharpide/thread/8e9ed0d7-11ff-402a-8489-9b5f05eeb706 http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    Tuesday, December 30, 2008 6:58 AM
    Moderator
  •  

    We are changing the issue type to “Comment” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

    Thank you!


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/csharpide/thread/8e9ed0d7-11ff-402a-8489-9b5f05eeb706 http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    Friday, January 02, 2009 11:05 AM
    Moderator