Home Forums Support ConnectionDefaultSendReceiveOptions

  • This topic has 0 replies, 1 voice, and was last updated 7 years ago by Anonymous.
Viewing 1 post (of 1 total)
  • Author
  • #4339


    My application should have a few encrypted connections.
    I tried that:

    byte[] Key = peer.DiffieHellman.DeriveKeyMaterial(CngKey.Import(PacketData, CngKeyBlobFormat.EccPublicBlob));
    RijndaelPSKEncrypter.AddPasswordToOptions(connection.ConnectionDefaultSendReceiveOptions.Options, BitConverter.ToString(Key));

    But this code also overwrites the keys for other connections. Is there a correctly way to make a few encrypted connections with different passwords?

    PS: Google Translate =)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.