Help Center/ Content Moderation/ SDK Reference/ Using the .NET SDK/ Importing a .NET SDK into a .NET Environment
Updated on 2023-07-17 GMT+08:00

Importing a .NET SDK into a .NET Environment

You can install the .Net SDK using commands or Visual Studio.

// Use .NET CLI to install the .Net SDK.
dotnet add package HuaweiCloud.SDK.Core 
dotnet add package HuaweiCloud.SDK.Moderation

// Use Package Manager to install the .Net SDK.
Install-Package HuaweiCloud.SDK.Core 
dotnet add package HuaweiCloud.SDK.Moderation

If you use Visual Studio, choose Tools > NuGet Package Manager > Manage NuGet Packages for Solution..., and search for and install HuaweiCloud.SDK.Core and HuaweiCloud.SDK.Moderation.