locked
Set Windows Integrity Level for Application at startup RRS feed

  • Question

  • Hi,

    Yesterday I found a problem in my application that it had not have the same integrity level as Outlook. Therefore someone from microsoft adviced me to look at the integrity level and make them both the same. I managed to find a CommandPrompt command for setting the integrity level, but what I really want is setting the integrity level at startup of my application.

    How can I set the integrity level of my application to the desired level using C#?

    Best regards,

    Jouke

    Wednesday, April 29, 2015 8:18 AM

Answers

  • Hi Jouke,

    You could create a launch application to start your application since you have already known how to set the integrity level from command line.

    Please take a look at this article:

    Create a low-integrity process in C# and VB

    It demonstrates how to create a low-integrity process.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Caillen Sunday, May 10, 2015 11:26 AM
    Monday, May 4, 2015 2:17 AM