Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

Docs Swagger Examples Blog Support Release Notes Dashboard

Installation

The package is available at nuget.org and it can be installed via package manager console by executing following command:

PM> NuGet\Install-Package GroupDocs.Metadata-Cloud

Version NuGet NuGet-GroupDocsCloud


Get Started

You do not need to install anything to get started with GroupDocs.Metadata Cloud SDK for .Net. Just create an account at GroupDocs for Cloud and get your application information.

Simply execute Install-Package GroupDocs.Metadata-Cloud from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Metadata assembly in your project. If you already have GroupDocs.Metadata Cloud SDK for .Net and want to upgrade it, please execute Update-Package GroupDocs.Metadata-Cloud to get the latest version.

Please check the GitHub Repository for common usage scenarios.

Extract Metadata from Cloud Documents

Learn how to easily extract metadata from various file formats using GroupDocs.Metadata Cloud SDK for .NET. This code sample demonstrates how to retrieve metadata properties based on tags, names, or values.

// For complete examples and data files, please go to https://github.com/groupdocs-metadata-cloud/groupdocs-metadata-cloud-dotnet-samples

// Initialize GroupDocs.Metadata Cloud configuration using your Client ID and Client Secret
string clientId = "YOUR_CLIENT_ID"; 
string clientSecret = "YOUR_CLIENT_SECRET"; 
var configuration = new Configuration(clientId, clientSecret);

// Create an instance of the Metadata API
var apiInstance = new MetadataApi(configuration);

// Specify the file path and storage (optional)
var fileInfo = new FileInfo
{
    FilePath = "path/to/your/document.docx",
    StorageName = "your_storage_name" // If using a specific storage, otherwise omit
};

// Define search criteria (e.g., by tag, name, or value)
var searchCriteria = new SearchCriteria 
{
    // ... (Add your specific search criteria here)
};

// Create the metadata extraction request
var request = new ExtractMetadataRequest(fileInfo, searchCriteria);

try
{
    // Extract metadata from the document
    var result = apiInstance.ExtractMetadata(request);

    // Process the extracted metadata
    foreach (var property in result.Properties)
    {
        Console.WriteLine($"Name: {property.Name}, Value: {property.Value}");
    }
}
catch (ApiException e)
{
    Console.WriteLine("Exception when calling MetadataApi.ExtractMetadata: " + e.Message );
}

Add Custom Metadata to Cloud Documents

Enhance your documents by adding custom metadata using GroupDocs.Metadata Cloud SDK for .NET. This C# code sample shows how to add new metadata properties to various file formats.

// For complete examples and data files, please go to https://github.com/groupdocs-metadata-cloud/groupdocs-metadata-cloud-dotnet-samples

// Initialize GroupDocs.Metadata Cloud configuration
string clientId = "YOUR_CLIENT_ID"; 
string clientSecret = "YOUR_CLIENT_SECRET"; 
var configuration = new Configuration(clientId, clientSecret);

// Create an instance of the Metadata API
var apiInstance = new MetadataApi(configuration);

// Specify the file path and storage 
var fileInfo = new FileInfo
{
    FilePath = "path/to/your/document.docx",
    StorageName = "your_storage_name" 
};

// Define the metadata properties to add
var properties = new List<MetadataProperty>
{
    new MetadataProperty { Name = "Author", Value = "John Doe", Type = "string" },
    new MetadataProperty { Name = "Keywords", Value = "document, metadata, example", Type = "string" }
    // Add more properties as needed
};

// Create the metadata addition request
var request = new AddMetadataRequest(fileInfo, properties);

try
{
    // Add metadata to the document
    var result = apiInstance.AddMetadata(request);

    // Handle the result (e.g., check for success or errors)
    Console.WriteLine("Metadata added successfully!"); 
}
catch (ApiException e)
{
    Console.WriteLine("Exception when calling MetadataApi.AddMetadata: " + e.Message );
}

Product Docs Swagger Examples Blog Support Dashboard


Tags

Document Metadata API | .NET Cloud API | GroupDocs.Metadata Cloud | REST API | Metadata Extraction | Metadata Management | Metadata Filtering | Metadata Searching | Metadata Preservation | Cloud Storage Integration | File Upload | File Download | File Management | Folder Management | File Versioning | Storage Administration | SDKs | Cross-Platform Support | API Explorer | Swagger UI | cURL Examples | JSON Web Token | Secure API Access | Client ID and Secret | High Accuracy | Fast Processing | Scalability | Docker Support | Self-Hosting API | Automatic Scaling | Microsoft Word | PDF | Excel | PowerPoint | Email Formats | Autodesk Design Data | Image Formats | Archive Formats | DICOM | GitHub Repository | MIT License | Open Source SDK | Free Trial | Technical Support | Document Metadata Extraction | Metadata Editing | Data Encryption | Metadata API | ASP.NET Metadata API | Metadata Integrity | Cross-Platform API


 English