var settings = new Settings()
{
BaseAddress = "https://myreportserver:83"
};
using (var rsClient = new ReportServerClient(settings))
{
rsClient.Login("username", "password");
}
var category = rsClient.GetCategory("categoryId");
var categoryData = new CreateCategoryData()
{
Name = "New Category",
};
var newCategory = rsClient.CreateCategory(categoryData);
var category = rsClient.GetCategory("categoryId");
category.Name = "Updated Name";
var updatedCategory = rsClient.UpdateCategory(category);
rsClient.DeleteCategory("categoryId");