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.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Εγκατάσταση
Το πακέτο είναι διαθέσιμο στο nuget.org και μπορεί να εγκατασταθεί από την Κονσόλα διαχείρισης πακέτων με την ακόλουθη εντολή:
NuGet\Install-Package GroupDocs.Metadata-Cloud

Απαιτήσεις
- .NET Framework 2.0 ή .NET Standard 2.0
- NuGet
- System.Web όταν ο στόχος είναι το .NET Framework 2.0
- Διαπιστευτήρια GroupDocs Cloud — Client ID and Client Secret από τον πίνακα ελέγχου
Γρήγορη έναρξη
Λήψη διαπιστευτηρίων API
Για να χρησιμοποιήσετε το GroupDocs.Metadata Cloud, εγγραφείτε στον πίνακα ελέγχου GroupDocs.Cloud και λάβετε το Client ID και το Client Secret.
Αρχικοποίηση του API
Χρησιμοποιήστε τον ακόλουθο κώδικα για να ξεκινήσετε με το GroupDocs.Metadata Cloud SDK for .NET.
using GroupDocs.Metadata.Cloud.Sdk.Api;
using GroupDocs.Metadata.Cloud.Sdk.Client;
var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new MetadataApi(configuration);
Δείτε το πλήρες παράδειγμα στο Common.cs.
Εξαγωγή μεταδεδομένων κατά ετικέτα
Αυτό το παράδειγμα διαβάζει ιδιότητες με ετικέτα Created στην κατηγορία Time.
using GroupDocs.Metadata.Cloud.Sdk.Api;
using GroupDocs.Metadata.Cloud.Sdk.Client;
using GroupDocs.Metadata.Cloud.Sdk.Model;
using GroupDocs.Metadata.Cloud.Sdk.Model.Requests;
var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new MetadataApi(configuration);
var options = new ExtractOptions
{
FileInfo = new FileInfo { FilePath = "documents/input.docx" },
SearchCriteria = new SearchCriteria
{
TagOptions = new TagOptions
{
ExactTag = new Tag { Name = "Created", Category = "Time" }
}
}
};
var response = apiInstance.Extract(new ExtractRequest(options));
foreach (var property in response.Properties)
{
Console.WriteLine($"Property: {property.Name}. Value: {property.Value}");
}
Δείτε το πλήρες παράδειγμα στο ExtractMetadataByTag.cs.
Προσθήκη μεταδεδομένων κατά ετικέτα
Αυτό το παράδειγμα προσθέτει μια ιδιότητα Manager στην κατηγορία Person.
using System.Collections.Generic;
using GroupDocs.Metadata.Cloud.Sdk.Api;
using GroupDocs.Metadata.Cloud.Sdk.Client;
using GroupDocs.Metadata.Cloud.Sdk.Model;
using GroupDocs.Metadata.Cloud.Sdk.Model.Requests;
var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new MetadataApi(configuration);
var options = new AddOptions
{
FileInfo = new FileInfo { FilePath = "documents/input.docx" },
Properties = new List<AddProperty>
{
new AddProperty
{
SearchCriteria = new SearchCriteriaWithoutValue
{
TagOptions = new TagOptions
{
ExactTag = new Tag { Name = "Manager", Category = "Person" }
}
},
Value = "Test User",
Type = "String"
}
}
};
var response = apiInstance.Add(new AddRequest(options));
Console.WriteLine("Resultant file path: " + response.Path);
Δείτε το πλήρες παράδειγμα στο AddMetadataByTag.cs.
Κατάργηση μεταδεδομένων κατά ετικέτα
Αυτό το παράδειγμα καταργεί ιδιότητες με ετικέτα Created στην κατηγορία Time.
using GroupDocs.Metadata.Cloud.Sdk.Api;
using GroupDocs.Metadata.Cloud.Sdk.Client;
using GroupDocs.Metadata.Cloud.Sdk.Model;
using GroupDocs.Metadata.Cloud.Sdk.Model.Requests;
var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new MetadataApi(configuration);
var options = new RemoveOptions
{
FileInfo = new FileInfo { FilePath = "documents/input.docx" },
SearchCriteria = new SearchCriteria
{
TagOptions = new TagOptions
{
ExactTag = new Tag { Name = "Created", Category = "Time" }
}
}
};
var response = apiInstance.Remove(new RemoveRequest(options));
Console.WriteLine("Resultant file path: " + response.Path);
Δείτε το πλήρες παράδειγμα στο RemoveMetadataByTag.cs.
Λήψη υποστηριζόμενων τύπων αρχείων
Ανακτήστε τις μορφές που δέχεται το API metadata.
using GroupDocs.Metadata.Cloud.Sdk.Api;
using GroupDocs.Metadata.Cloud.Sdk.Client;
var configuration = new Configuration("YourClientId", "YourClientSecret");
var apiInstance = new InfoApi(configuration);
var response = apiInstance.GetSupportedFileFormats();
foreach (var entry in response.Formats)
{
Console.WriteLine($"{entry.FileFormat}: {entry.Extension}");
}
Δείτε το πλήρες παράδειγμα στο GetSupportedFileTypes.cs.
Παραδείγματα στο GitHub
Το αποθετήριο GroupDocs.Metadata Cloud .NET Examples περιλαμβάνει έτοιμα προς εκτέλεση παραδείγματα που καλύπτουν:
| Category | Examples |
|---|
| Εξαγωγή | Κατά ετικέτα, όνομα ιδιότητας, φράση, regex, τιμή ή ολόκληρο το δέντρο |
| Προσθήκη | Κατά ετικέτα ή όνομα ιδιότητας |
| Ορισμός | Κατά ετικέτα, όνομα ιδιότητας, φράση, regex ή τιμή |
| Κατάργηση | Κατά ετικέτα, όνομα ιδιότητας, φράση, regex ή τιμή |
| Info | Πληροφορίες εγγράφου, ετικέτες μεταδεδομένων, υποστηριζόμενοι τύποι αρχείων |
Τρόπος εκτέλεσης των παραδειγμάτων
- Κλωνοποιήστε ή κατεβάστε το αποθετήριο παραδειγμάτων
- Ανοίξτε το
Examples/GroupDocs.Metadata.Cloud.Examples.sln στο Visual Studio 2017 ή νεότερο - Κάντε δεξί κλικ στη λύση και επιλέξτε Enable NuGet Package Restore
- Επεξεργαστείτε το
Examples/GroupDocs.Metadata.Cloud.Examples.CSharp/RunExamples.cs και ορίστε τα Common.MyAppSid και Common.MyAppKey - Μεταγλωττίστε και εκτελέστε
Για περισσότερες λεπτομέρειες, επισκεφθείτε τη σελίδα Getting Started.

Ετικέτες
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