Using NatsConnection in .c# core 8.0 with NKey #779
-
Hi, i searched accros the internet , also used AI, but it seems i can't get to setup a connection in C#. I also tried to convert to public key UDX... but the problem remains. Anyone have a good example how this works ? atm i use this : ` ....
` `
} ( CLI connection works with the SUA nkey. ) Any help is appreciated. :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You need to provide the seed as well. have a look at the example in the tests: nats.net/tests/NATS.Client.Core.Tests/NatsConnectionTest.Auth.cs Lines 66 to 70 in 0450443 edit: sorry, what you have seems to be the seed, put that in |
Beta Was this translation helpful? Give feedback.
You need to provide the seed as well. have a look at the example in the tests:
nats.net/tests/NATS.Client.Core.Tests/NatsConnectionTest.Auth.cs
Lines 66 to 70 in 0450443
edit: sorry, what you have seems to be the seed, put that in
Seed
property and you need the NKey (which is the public key) as well then.