c# - BCrypt is not allowed for Windows Store Apps -
i'm using bcrypt.net hashing passwords in windows store app. works fine when built , tested in windows tablets. when i'm trying upload app store fails in supported api test.
following error details given
api system.applicationexception in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api.
api system.runtime.serialization.serializationinfo in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api. api system.security.cryptography.randomnumbergenerator in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api. api system.applicationexception.#ctor in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api. api system.applicationexception.#ctor(system.string) in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api. api system.applicationexception.#ctor(system.string,system.exception) in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api. api system.applicationexception.#ctor(system.runtime.serialization.serializationinfo,system.runtime.serialization.streamingcontext) in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api. api system.text.stringbuilder.appendformat(system.string,system.object) in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api. api system.security.cryptography.randomnumbergenerator.create in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api. api system.security.cryptography.randomnumbergenerator.getbytes(system.byte[]) in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api.
what can done this? ideas? in advance.
as error message stated
api system.runtime.serialization.serializationinfo in mscorlib, publickeytoken=b77a5c561934e089 not supported application type. bcrypt.net.dll calls api.
the serializationinfo class not belong .net store app.
you can not use bcrypt.net in store app development because build on full .net, recommend using hashalgorithmprovider class in windows runtime app.
Comments
Post a Comment