diff --git a/.vs/ModernKeePass/v14/.suo b/.vs/ModernKeePass/v14/.suo index ef1772b..21d3a31 100644 Binary files a/.vs/ModernKeePass/v14/.suo and b/.vs/ModernKeePass/v14/.suo differ diff --git a/ModernKeePassLib/Cryptography/CryptoRandom.cs b/ModernKeePassLib/Cryptography/CryptoRandom.cs index 12fa42d..6c73078 100644 --- a/ModernKeePassLib/Cryptography/CryptoRandom.cs +++ b/ModernKeePassLib/Cryptography/CryptoRandom.cs @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +using System; using Windows.Security.Cryptography; //using System.Windows.Forms; //using System.Drawing; @@ -77,7 +78,7 @@ namespace ModernKeePassLib.Cryptography public byte[] GetRandomBytes(uint uRequestedBytes) { if (uRequestedBytes == 0) return new byte[0]; // Allow zero-length array - + byte[] pbRes; Windows.Storage.Streams.IBuffer buffer = CryptographicBuffer.GenerateRandom(uRequestedBytes); diff --git a/ModernKeePassLib/ModernKeePassLib.csproj b/ModernKeePassLib/ModernKeePassLib.csproj index a6116f5..4cc6775 100644 --- a/ModernKeePassLib/ModernKeePassLib.csproj +++ b/ModernKeePassLib/ModernKeePassLib.csproj @@ -24,7 +24,7 @@ full false bin\Debug\ - TRACE;DEBUG;NETFX_CORE, KeePassWinRT + TRACE;DEBUG;NETSTANDARD1_2, KeePassWinRT prompt 4