how do i import a library from .net 2 framework to compact framework? RRS feed

  • Question

  • User1685260560 posted
    hello, i would like to know if i can import a library (system.security.cryptography.xml) to compact framework. if yes how do i do that and shall i expect it to work without any problems? compact framework does not support xml encryption or xml signatures but desktop version does so i thought i could just import a dll to spare me all the trouble... is it possible?
    Thursday, January 17, 2008 5:12 AM


  • User-2060689755 posted

    Hi max_payne,

    Compact framework can't import other class , you can try to reflect the source code and find the API,  try to P/Invoke the API to implement it. But it may be a little difficult.

    For how to P/Invoke:

    Best regards,
    Guang-Ming Bian - MSFT

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, January 21, 2008 5:02 AM