hit this error on windows 7 pc.
1 2 3 4 |
[2016-10-25 09:40:57] System.MissingMethodException: Method not found: 'Void System.Security.Cryptography.RandomNumberGenerator.GetBytes(Byte[], Int32, Int32)'. at Shadowsocks.Encryption.IVEncryptor.randBytes(Byte[] buf, Int32 length) at Shadowsocks.Encryption.IVEncryptor.Encrypt(Byte[] buf, Int32 length, Byte[] outbuf, Int32& outlength) at Shadowsocks.Controller.TCPHandler.PipeConnectionReceiveCallback(IAsyncResult ar |
according to msdn,
https://msdn.microsoft.com/en-us/library/dn823306%28v=vs.110%29.aspx
this api was introduced in .NET Framework Available since 4.6
Im currently using .NET Framework 4.5.
fix is to upgrade .NET Framework.
https://www.microsoft.com/en-us/download/details.aspx?id=53344