Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoOnePassword.NET Nuget package and CLI v2
I'm new to 1Password and trying to use the OnePassword.NET Nuget package with CLI v2 in a Visual Studio C# project.
My code is as follows:
using OnePassword;
try
{
...
andi_t_1P
1Password Team
4 years agoThe piece of code you presented should work as expected from what I can tell from the 1Password CLI .NET wrapped Github repo docs. The only configuring you need to do is to add your account as instructed. You could always try to configure the account directly in the CLI by running op account add.
Let me know if you are still facing issues. Best,
Andi