none
Any way to get System.Security.Cryptography.SHA256Cng to work on Posready 2009(XPe) RRS feed

  • Question

  • Hey 
    in our setup we have some older clients running POSready 2009
    we get an error when trying to use System.Security.Cryptography.SHA256Cng
    saying that this si not supported on this platform.

    any way around this ? 

    Best regards Jacob Ipsen - CEO FlexPOS
    Thursday, October 8, 2015 11:35 AM

Answers

  • Hi Jacob,

    After checking https://msdn.microsoft.com/en-us/library/system.security.cryptography.sha256cng(v=vs.90).aspx

    Support Platforms

    Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

    According to the MSDN page Microsoft .NET Framework Versions Supported by Windows Embedded Products, Windows Embedded POSReady 2009 supports .NET Framework versions 3.5 SP1 and 4.0, but not v4.5 or higher.

    So checking .Net Framework 3.5, there is a SHA256Managed Class in .NET 3.5. Please use SHA256Managed Class instead.

    Support Platforms

    Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

    Best regards,

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, October 9, 2015 6:54 AM
  • Found a solution
    SHA256Cng dossent work in POSReady2009(XPe)
    but SHA256Managed is 
    and worked for my purpose :) 

    Thanks for your reply ! 

    Best Regards Jacob Ipsen - FlexPOS

    Tuesday, October 13, 2015 1:21 PM

All replies

  • Hi Jacob,

    After checking https://msdn.microsoft.com/en-us/library/system.security.cryptography.sha256cng(v=vs.90).aspx

    Support Platforms

    Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

    According to the MSDN page Microsoft .NET Framework Versions Supported by Windows Embedded Products, Windows Embedded POSReady 2009 supports .NET Framework versions 3.5 SP1 and 4.0, but not v4.5 or higher.

    So checking .Net Framework 3.5, there is a SHA256Managed Class in .NET 3.5. Please use SHA256Managed Class instead.

    Support Platforms

    Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

    Best regards,

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, October 9, 2015 6:54 AM
  • Hey Kristin
    Dosent seem to work, returns same error

    i think maby my only choice is to try to find a 3party SHA256 class

    /Jacob

    Best Regards Jacob Ipsen - FlexPOS

    Friday, October 9, 2015 12:38 PM
  • Hey Kristin
    Dosent seem to work, returns same error

    i think maby my only choice is to try to find a 3party SHA256 class

    /Jacob

    Best Regards Jacob Ipsen - FlexPOS

     

    You could try. I am afraid Posready 2009(XPe) platform is not include in .Net Framework. I would suggest you submit a feedback to Microsoft, you can start from https://visualstudio.uservoice.com/forums/121579-visual-studio

    Best regards,

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    • Edited by Kristin Xie Monday, October 12, 2015 8:33 AM
    Monday, October 12, 2015 8:31 AM
  • Found a solution
    SHA256Cng dossent work in POSReady2009(XPe)
    but SHA256Managed is 
    and worked for my purpose :) 

    Thanks for your reply ! 

    Best Regards Jacob Ipsen - FlexPOS

    Tuesday, October 13, 2015 1:21 PM