Skip to content

Using NatsConnection in .c# core 8.0 with NKey #779

Answered by mtmk
TopcatFebelco asked this question in Q&A
Discussion options

You must be logged in to vote

You need to provide the seed as well. have a look at the example in the tests:

AuthOpts = NatsAuthOpts.Default with
{
NKey = "UALQSMXRSAA7ZXIGDDJBJ2JOYJVQIWM3LQVDM5KYIPG4EP3FAGJ47BOJ",
Seed = "SUAAVWRZG6M5FA5VRRGWSCIHKTOJC7EWNIT4JV3FTOIPO4OBFR5WA7X5TE",
},

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TopcatFebelco
Comment options

@TopcatFebelco
Comment options

Answer selected by TopcatFebelco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants