SquareValetBindings 0.1.0-beta
This is a prerelease version of SquareValetBindings.
dotnet add package SquareValetBindings --version 0.1.0-beta
NuGet\Install-Package SquareValetBindings -Version 0.1.0-beta
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SquareValetBindings" Version="0.1.0-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SquareValetBindings" Version="0.1.0-beta" />
<PackageReference Include="SquareValetBindings" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SquareValetBindings --version 0.1.0-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SquareValetBindings, 0.1.0-beta"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SquareValetBindings@0.1.0-beta
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SquareValetBindings&version=0.1.0-beta&prerelease
#tool nuget:?package=SquareValetBindings&version=0.1.0-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
square-valet-ios-net-bindings
.NET 8 / iOS bindings for Square Valet – Square’s battle-tested Keychain / Secure Enclave wrapper.
Status: Early preview – APIs compile & run on real devices, but docs / samples are still catching up.
Please file issues (or PRs!) for anything that looks off.
Why?
- Modern .NET 8 projects now target net8.0-ios instead of the old Xamarin targets.
- The original Square.Valet NuGet package stopped at Xamarin.iOS ➜ it won’t load in a modern MAUI / .NET for iOS app.
- These bindings expose the full Valet 5.x+ surface so you can keep using the clean Valet API instead of rolling raw Keychain code.
Quick start
using SquareValetBindings; // namespace from the binding project
// 1. Create a valet (app-keychain, no keychain sharing)
var valet = VALValet_Valet_Swift_804.ValetWithIdentifier(
"com.example.app", // keychain identifier / service
VALAccessibility.WhenUnlocked); // Keychain accessibility level
// 2. Store & retrieve a string
valet.SetString("super-secret", "MyKey");
var secret = valet.StringForKey("MyKey", out var error);
Console.WriteLine($"Secret = {secret}");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-ios18.0 is compatible. net9.0-ios was computed. net10.0-ios was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-ios18.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.1.0-beta | 120 | 6/16/2025 |