net8.0net9.0net10.0.NETStandard2.0
Gemini AI Client for .NET
Published
Nov 11, 2025
11mo ago
Total Downloads
99.5K
99,533
Install
dotnet add package Mscc.GenerativeAI.Google --version 2.9.1
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
Gemini AI Client for .NET using Google API Client Library
Integrate Gemini API into your .NET applications. This package depends on Google API Client Library and provides access to Google Cloud Vertex AI using OAuth 2.0 and Service Accounts.
Client for .NET using Google API Client Library:
Getting started
Mscc.GenerativeAI.Google
Authenticate with OAuth 2.0
Authenticate with Service Account
The choice of authentication is yours.
More examples
The folders samples and tests contain more examples.
Troubleshooting
tba
Feedback
You can create issues at the https://github.com/mscraftsman/generative-ai repository.
Changes from Previous Version
v2.9.0v2.9.1
Added Frameworks
net10.0
Added Dependencies
System.Text.Encodings.Web(net9.0)
Google.Apis.Auth(net10.0)
Mscc.GenerativeAI(net10.0)
JsonSchema.Net.Generation(net10.0)
Microsoft.Extensions.Http(net10.0)
Microsoft.Extensions.Logging(net10.0)
Microsoft.Extensions.Options(net10.0)
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.The published metadata declares 43 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.