XserverIoTCommon 10.1.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package XserverIoTCommon --version 10.1.0.2
NuGet\Install-Package XserverIoTCommon -Version 10.1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XserverIoTCommon" Version="10.1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XserverIoTCommon" Version="10.1.0.2" />
<PackageReference Include="XserverIoTCommon" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XserverIoTCommon --version 10.1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XserverIoTCommon, 10.1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XserverIoTCommon@10.1.0.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XserverIoTCommon&version=10.1.0.2
#tool nuget:?package=XserverIoTCommon&version=10.1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
XserverIoTCommon class usage:
Required UWP Target settings:
Min version: Windows 10 Fall Creators Update (10.0; Build 16299)
Required UWP Capabilities:
<Capability Name="internetClient" />
<Capability Name="internetClientServer"/>
<Capability Name="privateNetworkClientServer"/>
Authentication class (Connect to Service):
// Log in to Xserver.IoT
public static async Task<Result> Login(string UserName, string Password, string ServiceIP = "localhost")
example: var res = await Authentication.Login("operator", "operator", "192.168.100.1");
// Gets UserId object for Xserver.Com service object
public static Models.Com.Common.IUserId GetComServiceUserId()
example:
IActiveAlarms AlarmRequest = new IActiveAlarms();
AlarmRequest.IUserId = Authentication.GetComServiceUserId();
AlarmRequest.NumberOfItems = 0; //No Limit
var resultackalarm = await RestAPI.RestClientPOST("/com/alarms/getactivealarms", ServiceName.Com, AlarmRequest);
RestAPI methods:
/// GET RestAPI request
public static async Task<IO.RestClient.RestClient.Result> RestClientGET(string RequestUri, ServiceName Service)
/// POST RestAPI request
public static async Task<IO.RestClient.RestClient.Result> RestClientPOST(string RequestUri, ServiceName Service, object objectcontent)
/// POST RestAPI request with Auth object
public static async Task<IO.RestClient.RestClient.Result> RestClientPOSTAuthObj(string RequestUri, ServiceName Service, object SerializeObject)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
Universal Windows Platform | uap was computed. uap10.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
UAP 0.0
- IO.RestClient (>= 10.0.0.23)
- Models.Com (>= 10.0.0.147)
- Models.Data (>= 10.0.0.87)
- Newtonsoft.Json (>= 12.0.3)
- Service.Common (>= 10.0.0.79)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on XserverIoTCommon:
Package | Downloads |
---|---|
IoTServerInsertionAPI
The insertion API allows the IoT Server to send data to other systems. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
10.3.4 | 281 | 7/5/2023 |
10.3.2 | 2,501 | 11/25/2021 |
10.2.3.1 | 460 | 10/7/2021 |
10.2.1.5 | 481 | 3/25/2021 |
10.2.1.4 | 496 | 3/24/2021 |
10.2.1.3 | 482 | 3/18/2021 |
10.2.1.2 | 476 | 3/4/2021 |
10.2.1.1 | 488 | 2/23/2021 |
10.2.1 | 487 | 2/11/2021 |
10.2.0.16 | 531 | 11/25/2020 |
10.2.0.15 | 583 | 11/19/2020 |
10.2.0.14 | 570 | 11/19/2020 |
10.2.0.13 | 531 | 10/28/2020 |
10.2.0.12 | 574 | 10/27/2020 |
10.2.0.11 | 527 | 10/27/2020 |
10.2.0.10 | 540 | 10/27/2020 |
10.2.0.9 | 576 | 10/21/2020 |
10.2.0.7 | 608 | 9/29/2020 |
10.2.0.5 | 558 | 9/24/2020 |
10.2.0.4 | 593 | 9/17/2020 |
10.2.0.3 | 621 | 9/16/2020 |
10.1.0.7 | 614 | 6/25/2020 |
10.1.0.6 | 689 | 6/24/2020 |
10.1.0.4 | 592 | 5/21/2020 |
10.1.0.2 | 638 | 5/19/2020 |