Re: Hi, Any work around for windows mobile 6 dynamic loading warni



Have you installed the cert onto the device? you can easily do this by
creating an xml file in the format expected by the certificateStore
configuration service provider and wrap this up into a cab file - ensure the
xml file is named _setup.xml (ensure you include the underscrore as the
install won't work otherwise).
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"WinMobileNewMan" wrote:

Hi ,

Thanks for your reply!

Based on your instruction i created a self signing certificate and used that
to sign the dll. Then included the dll during runtime. The message still
appears (for the first time only after each recompilation) .

is the any other places where i got to include the dll or any other clue?

-Manas

"Christopher Fairbairn" wrote:

Hi,

"Manas" <manasglobal1@xxxxxxxxx> wrote in message
news:55fdabf0-d387-4264-afa1-5d71f49603ea@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is there any way to avoid the below message while dynamicaly loading
the a dll into windows mobile 6, without signing the dll ?

"Starting this program requires a component from an unknown
publisher.
You should start the program only if you trust the component's
publisher. Do you want to continue?"

In general you can not avoid this prompt without signing your DLL, unless
your deployment scenario and device selection enables you to change to a
less restrictive device security model.

Depending upon the device (and vendor) in question you may not be able to
easily change the security model utilised by your device and it may not be
something end users would be happy to do to their device at any rate.

If you want to get rid of this prompt on a device that employs the "one or
two tier with prompt" security model without needing modifications to the
PDAs, your only option is to purchase a code signing certificate from the
likes of Verisign.

The Window Mobile 6 SDK contains sample certificates you may be able to use
during development.

Hope this helps,
Christopher Fairbairn



.



Relevant Pages

  • Re: Programmatically Signing DLL
    ... key on it and sign a .DLL before it goes into production. ... > Dim Signer, SignedCode ... What kind of certificate do we need to buy to allow programmatic ... signing and validation of a DLL using VC++. ...
    (microsoft.public.security)
  • Re: Ask the Experts Help
    ... I didn't mention the 3rd party dll is also unmanaged C++. ... chktrust.exe to check an "assembly's" certificate, but only in my VS 2003 ... > the target dll that triggers the error message. ... > b) if I just sign my test app would it then be able to use the target dll? ...
    (microsoft.public.pocketpc.developer)
  • Re: Are .NET Windows Applications Totally Insecure?
    ... First off, an item (whether it be a native exe, dll or .net assembly or java appetl) ... It is up to the owner to ensure that they *trust* the digital certificate (and hence the ...
    (microsoft.public.dotnet.security)
  • privileged dll in c# application
    ... application to run i must select a Privileged Certificate from the ... I created the dll with the ... Finally i deploy the application to my Smartphone and run it ... However i do not understand how the embedded visual c++ app works however ...
    (microsoft.public.dotnet.framework.interop)
  • c++ privileged dll in c# application
    ... application to run i must select a Privileged Certificate from the ... I created the dll with the ... Finally i deploy the application to my Smartphone and run it ... However i do not understand how the embedded visual c++ app works however ...
    (microsoft.public.dotnet.framework.compactframework)

Loading