0

I read about using P/Invoke through Silverlight 5 and tried and it works. But it only works in a trusted environment. This means that applications downloaded from the remote website is not run in an elevated trust.

I digitally signed my application with self signed test certificate but it is stuck only to my computer. I would like to be able to create a certificate with public key that can be used to elevate trust to my application downloaded from internet site and to be working on any PC.

It is good to me if the user needs to install the certificate manually.

It will be better to make this procedure automatic but let's resolve problems step by step.

Patrik
  • 1,286
  • 1
  • 31
  • 64

1 Answers1

1

Mr. Goodcat has written a comprehensive blog post on how to set up certificates for Silverlight 5 in-browser trusted applications, here.

Note that due to the certificate requirement, Silverlight in-browser elevated trust applications are only realistically deployed in an intranet. Depending on what your application is intended for, an alternative option could perhaps be to require that the application is run out-of-browser in order to make use of the elevated-trust functionality.

Anders Gustafsson
  • 15,837
  • 8
  • 56
  • 114