.net - How can I change COM Security settings programmatically by c#? -


i need change com security permissions programmatically using .net methods. mean these settings:

enter image description here

how can this? thanks!

as far know there no api this. com , dcom access control set in registry, under "incognito" ole (because of historical reasons). @ same time .net has standard classes manipulate registry.

so here should when facing task:

  • launch registry monitor, mark russinovich's formerly sysinternals, microsoft

  • set com setting interactively using windows ui, , monitor registry changes.

  • optional recommended: after having targeted search keyword (the registry keys) try in google doc/code, or better search in github within code

  • implement c# classes manipulating appropriate registry classes


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -