MipSdkHelper 1.0.1
dotnet add package MipSdkHelper --version 1.0.1
NuGet\Install-Package MipSdkHelper -Version 1.0.1
<PackageReference Include="MipSdkHelper" Version="1.0.1" />
paket add MipSdkHelper --version 1.0.1
#r "nuget: MipSdkHelper, 1.0.1"
// Install MipSdkHelper as a Cake Addin
#addin nuget:?package=MipSdkHelper&version=1.0.1
// Install MipSdkHelper as a Cake Tool
#tool nuget:?package=MipSdkHelper&version=1.0.1
MipSdkHelper
This repo is a personal project started out of a desire to wrap some of the complexities of Milestone MIP SDK usage into a package that is easier (for me) to use. Nothing in this project is necessary - everything here can simply be done on your own in your MIP SDK integrations. But if you're like me, you create numerous projects and want to minimize the amount of boilerplate used to do things like logging in, or creating ConfigApi WCF proxy clients.
Getting Started
Before this library can be any use to you, you'll need to register with Milestone Systems as a Milestone Solution Partner and gain access to the MIP SDK (Milestone Integration Platform Software Development Kit). Once you have access to the MIP SDK, and just as important - the MIP SDK documentation, you will need to add references at a minimum:
- Nuget Package "ConfigApiSharp" version 1.1.0 or greater (automatically added if you add the MipSdkHelper nuget)
- C:\Program Files\Milestone\MIPSDK\Bin\VideoOS.Platform
- C:\Program Files\Milestone\MIPSDK\Bin\VideoOS.Platform.SDK
Below is a sample console application where you can supply the login parameters as arguments and simply print the Management Server information to console.
using MipSdkHelper;
using System;
namespace SampleConsoleApp
{
class Program
{
static void Main(string[] args)
{
using (var client = new MipSdkClient(new Uri("http://localhost")))
{
var loginResult = client.Login();
if (!loginResult.Success) throw loginResult.Exception;
var properties = client.ConfigApiClient.GetItem("/").Properties;
foreach (var kvp in properties)
{
Console.WriteLine($"{kvp.Key}: {kvp.Value}");
}
}
Console.WriteLine();
Console.WriteLine("Press any key to continue. . .");
Console.ReadKey();
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net451 is compatible. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- ConfigApiSharp (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
Milestone MIP SDK binaries are not included in package. Sign up as a Milestone Solution Partner directly with Milestone Systems at no cost for access to the MIP SDK including documentation.