c#
Resolve unknown publisher of WPF windows installer through visual studio 2015 setup [duplicate]
When I start my application with administrative permissions (right click on the EXE | Run as administrator), the UAC dialog with an orange or yellow banner appears with the warning that the publisher is unknown. Instead of purchase a certificate, I would like to do it differently. I think there must be possibilities to accomplish that without a purchased certificate. Basically, I want the look and feel when I start, for example, the calc.exe (Calculator in Windows) with administrative permissions. Which options or alternatives do I have?
None! For the publisher to be known, you application must have a digital signature and the certificate used to sign it must be trusted. The only possibility to achieve it is to buy a digital certificate from a well-known certificate authority. The digital signature should also contain timestamp. It will keep your application trusted even when the certificate expires. If there's no timestamp on the digital signature, the application will become untrusted again as soon as the certificate expires. You can create a self-signed digital certificate and sign your application with it. But it won't be trusted. There's a workaround: if users install this certificate into Trusted Root Certificate Authorities or Trusted Publishers, then and only then your application will become trusted, and UAC prompt would have blue background instead of yellow. But it requires users to explicitly express trust to your digital certificate. So the only solution that requires no steps from the users is to buy a digital certificate.
Related Links
Email confirmation link using office 365 in ASP.NET MVC [duplicate]
Calculate the size of a shadow
Call a web service from a desktop application in c#
Get members of custom class to read their values
Dynamically include/exclude fields in where clause LINQ
How do I send an Email using c#?
visual studio 2015 the following error occurred attempting to run the project model server process(1.0.3)
Stored procedure OUTPUT VARCHAR2 value truncated using 12c client
LINQ to Entities does not recognize the method 'System.String ToString(System.String)
How to get from a hashset all the elements that are of a particular subclass in c#?
enforce the DirectShow to select my video device via lan
Why are settings.settings variables not updating when I assign to them?
C# Chart crashes if there is a big Y-value
Backup localDB database in ClickOnce
how to populate text boxes based on dropdownlist selection mvc
Printing listview using loop prints all rows on the same line C#