Face Recognition SDK for .NET
A .NET MAUI and C# face recognition SDK with passive liveness detection, covering detection, landmarks, recognition, pose, expression, and attribute analysis on Android and iOS, with 1:N identification.
What You Need to Run It on .NET
These are the exact minimum and recommended requirements published in the FaceRecognition-LivenessDetection-DotNet-MAUI repository — check the repo directly for the latest version, since SDK requirements can change between releases.
net8.0-android, net8.0-ios)dotnet workload install maui)Install and Activate
Install the SDK, then activate it with a license key before calling any recognition function — every platform follows this same activate-then-initialize pattern.
- Clone the repository and install the .NET 8 SDK with the MAUI workload. Add
src/FaceRecognition.Net.Mauito your solution, or copyFaceSdk.csand the platform file for the target you ship. - Download the native runtimes from the Android and iOS release pages: add
facerecognitionsdk.aaras anAndroidLibrary, and the iOS frameworks asNativeReferenceitems withForceLoad. - Set your own application IDs, request a license for them, add the camera and photo permissions for both platforms, and keep engine calls off the UI thread.
Building for Windows desktop?
The .NET MAUI plugin targets Android and iOS. For Windows desktop apps, use the Face Recognition SDK for Windows, which exposes 1:N identification and 1:1 verification through a local REST API that any .NET application can call.
.NET MAUI Integration Notes
Build and licensing details from the .NET MAUI repository README.
Install the right SDK
Install the .NET 8 SDK and run dotnet workload install maui. The project targets net8.0-android and net8.0-ios.
Keys are chosen at compile time
LicenseKeys.Demo picks the Android or iOS key when you build, so set both and rebuild for the target you ship.
Async API surface
Calls are awaitable: InitAsync, SetActivationAsync, GetLicenseStatusAsync for licensing, and StartVideoWorkerAsync, SyncDatabaseAsync, AddFrameAsync and PollEventAsync for live 1:N.
Native bindings included
The repository contains the MAUI app project plus the Android and iOS bindings (FaceSdk), so the demo shows exactly what to copy into your own solution.
Physical devices only
Emulators and the simulator have no usable camera for liveness. Use python run_android.py or python run_ios.py with a phone connected.
A Windows desktop app needs the Windows face recognition server instead, since the MAUI package targets Android and iOS.
How Licensing Works
Licenses are offline and bound to your application ID or bundle ID. The demo ships with keys for com.faceplugin.facerecognitionsdk (Android) and com.faceplugin.facerecognition.app (iOS); contact FacePlugin for a key scoped to your own app.
Frequently Asked Questions
Does the .NET SDK send biometric data to the cloud?
No. Every stage of face recognition runs on your own server or directly on the device, depending on the platform – biometric templates never leave an environment you control.
How is the SDK licensed?
Licenses are offline and bound to the Android applicationId and iOS bundle id of your MAUI app. Contact FacePlugin with both identifiers to receive keys. There are no per-call or per-match fees once licensed.
Where can I see the full source and open an issue?
The FaceRecognition-LivenessDetection-DotNet-MAUI integration is maintained publicly on GitHub at github.com/Faceplugin-ltd, where you can browse the code, file issues, and track releases.
Ready to Add Face Recognition to Your .NET App?
Talk to our team to get a license key and a 15-day evaluation period started.