Adding SmartThings samples

This commit is contained in:
Imi 2022-08-29 10:28:57 +02:00 committed by GitHub
parent 51c1c5fde2
commit 942693d6d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 548 additions and 0 deletions

View File

@ -0,0 +1,24 @@
using SmartThingsNet.Api;
using SmartThingsNet.Client;
using SmartThingsNet.Model;
namespace SmartThings
{
class SmartThings
{
static void Main()
{
string accesstoken = "";
var configuration = new Configuration();
configuration.AccessToken = accesstoken;
var devices = new DevicesApi(configuration);
var locations = new LocationsApi(configuration);
var rooms = new RoomsApi(configuration);
var devicelist = devices.GetDevices(accesstoken).Items;
Console.WriteLine(String.Join(Environment.NewLine, locations.ListLocations(accesstoken).Items.Select(x => x.Name)));
Console.WriteLine(String.Join(Environment.NewLine, rooms.ListRooms(accesstoken, locations.ListLocations(accesstoken).Items.First().LocationId.ToString()).Items.Select(x => x.Name)));
Console.WriteLine(String.Join(Environment.NewLine, devicelist.Select(x => $"{x.Label} :: {x.DeviceId}").ToList()));
}
}
}

View File

@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SmartThingsNet" Version="0.7.0" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("SmartThings")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("SmartThings")]
[assembly: System.Reflection.AssemblyTitleAttribute("SmartThings")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -0,0 +1 @@
b68e8acde5b615b35a2a857fc2aa1d791aab4750

View File

@ -0,0 +1,10 @@
is_global = true
build_property.TargetFramework = net6.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SmartThings
build_property.ProjectDir = C:\Users\Imi\Downloads\SmartThings\

View File

@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@ -0,0 +1 @@
292844816067845a7acc33dd8903d6d2acf092c0

View File

@ -0,0 +1,21 @@
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThings.exe
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThings.deps.json
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThings.runtimeconfig.json
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThings.dll
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\ref\SmartThings.dll
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThings.pdb
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\JsonSubTypes.dll
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\Newtonsoft.Json.dll
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\Polly.dll
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\RestSharp.dll
C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThingsNet.dll
C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.csproj.AssemblyReference.cache
C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.AssemblyInfoInputs.cache
C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.AssemblyInfo.cs
C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.csproj.CoreCompileInputs.cache
C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.csproj.CopyComplete
C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.dll
C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\ref\SmartThings.dll
C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.pdb
C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.genruntimeconfig.cache

Binary file not shown.

View File

@ -0,0 +1 @@
85be4d135fa791874eda73c0a20cae485cb75e84

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,73 @@
{
"format": 1,
"restore": {
"C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj": {}
},
"projects": {
"C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj",
"projectName": "SmartThings",
"projectPath": "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj",
"packagesPath": "C:\\Users\\Imi\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Imi\\Downloads\\SmartThings\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\Imi\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"SmartThingsNet": {
"target": "Package",
"version": "[0.7.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.108\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Imi\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Imi\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
<SourceRoot Include="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -0,0 +1,339 @@
{
"version": 3,
"targets": {
"net6.0": {
"JsonSubTypes/1.8.0": {
"type": "package",
"dependencies": {
"Newtonsoft.Json": "10.0.1"
},
"compile": {
"lib/netstandard2.0/JsonSubTypes.dll": {}
},
"runtime": {
"lib/netstandard2.0/JsonSubTypes.dll": {}
}
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
}
},
"Polly/7.2.2": {
"type": "package",
"compile": {
"lib/netstandard2.0/Polly.dll": {}
},
"runtime": {
"lib/netstandard2.0/Polly.dll": {}
}
},
"RestSharp/106.15.0": {
"type": "package",
"compile": {
"lib/netstandard2.0/RestSharp.dll": {}
},
"runtime": {
"lib/netstandard2.0/RestSharp.dll": {}
}
},
"SmartThingsNet/0.7.0": {
"type": "package",
"dependencies": {
"JsonSubTypes": "1.8.0",
"Newtonsoft.Json": "13.0.1",
"Polly": "7.2.2",
"RestSharp": "106.15.0",
"System.ComponentModel.Annotations": "5.0.0"
},
"compile": {
"lib/netstandard2.1/SmartThingsNet.dll": {}
},
"runtime": {
"lib/netstandard2.1/SmartThingsNet.dll": {}
}
},
"System.ComponentModel.Annotations/5.0.0": {
"type": "package",
"compile": {
"ref/netstandard2.1/System.ComponentModel.Annotations.dll": {}
},
"runtime": {
"lib/netstandard2.1/System.ComponentModel.Annotations.dll": {}
}
}
}
},
"libraries": {
"JsonSubTypes/1.8.0": {
"sha512": "pBChxyl9mt0F1s1giHlN6yQ9WWb5FljluCNhMnSb7sspPfPRPTrc0a0psdu2/FVb5nZu5bQN50OMMaSp8jm8xQ==",
"type": "package",
"path": "jsonsubtypes/1.8.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE",
"jsonsubtypes.1.8.0.nupkg.sha512",
"jsonsubtypes.nuspec",
"lib/net35/JsonSubTypes.dll",
"lib/net40/JsonSubTypes.dll",
"lib/net45/JsonSubTypes.dll",
"lib/net46/JsonSubTypes.dll",
"lib/net47/JsonSubTypes.dll",
"lib/netstandard1.3/JsonSubTypes.dll",
"lib/netstandard1.4/JsonSubTypes.dll",
"lib/netstandard1.5/JsonSubTypes.dll",
"lib/netstandard1.6/JsonSubTypes.dll",
"lib/netstandard2.0/JsonSubTypes.dll"
]
},
"Newtonsoft.Json/13.0.1": {
"sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"type": "package",
"path": "newtonsoft.json/13.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"newtonsoft.json.13.0.1.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
},
"Polly/7.2.2": {
"sha512": "E6CeKyS513j7taKAq4q2MESDBvzuzWnR1rQ2Y2zqJvpiVtKMm699Aubb20MUPBDmb0Ov8PmcLHTCVFdCjoy2kA==",
"type": "package",
"path": "polly/7.2.2",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net461/Polly.dll",
"lib/net461/Polly.pdb",
"lib/net461/Polly.xml",
"lib/net472/Polly.dll",
"lib/net472/Polly.pdb",
"lib/net472/Polly.xml",
"lib/netstandard1.1/Polly.dll",
"lib/netstandard1.1/Polly.pdb",
"lib/netstandard1.1/Polly.xml",
"lib/netstandard2.0/Polly.dll",
"lib/netstandard2.0/Polly.pdb",
"lib/netstandard2.0/Polly.xml",
"polly.7.2.2.nupkg.sha512",
"polly.nuspec"
]
},
"RestSharp/106.15.0": {
"sha512": "HM7ohR6AscxedNenrrl93DSZG6hvdnA7O+NHyCl/6ZKTfn8psQ9rRmUpcb9eWr+140vmfxoVemql0bUoeGEW3A==",
"type": "package",
"path": "restsharp/106.15.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net452/RestSharp.dll",
"lib/net452/RestSharp.xml",
"lib/netstandard2.0/RestSharp.dll",
"lib/netstandard2.0/RestSharp.xml",
"restsharp.106.15.0.nupkg.sha512",
"restsharp.nuspec",
"restsharp.png"
]
},
"SmartThingsNet/0.7.0": {
"sha512": "F99ZWavaXB7HFUdtahsViwqdrePII7hCNwgOtqM0FO66TmqON0mu/RHm0ztnC/VaUFWYzFXx3+HGhoTPXs6PGw==",
"type": "package",
"path": "smartthingsnet/0.7.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netstandard2.1/SmartThingsNet.dll",
"lib/netstandard2.1/SmartThingsNet.xml",
"smartthingsnet.0.7.0.nupkg.sha512",
"smartthingsnet.nuspec"
]
},
"System.ComponentModel.Annotations/5.0.0": {
"sha512": "dMkqfy2el8A8/I76n2Hi1oBFEbG1SfxD2l5nhwXV3XjlnOmwxJlQbYpJH4W51odnU9sARCSAgv7S3CyAFMkpYg==",
"type": "package",
"path": "system.componentmodel.annotations/5.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net45/_._",
"lib/net461/System.ComponentModel.Annotations.dll",
"lib/netcore50/System.ComponentModel.Annotations.dll",
"lib/netstandard1.4/System.ComponentModel.Annotations.dll",
"lib/netstandard2.0/System.ComponentModel.Annotations.dll",
"lib/netstandard2.1/System.ComponentModel.Annotations.dll",
"lib/netstandard2.1/System.ComponentModel.Annotations.xml",
"lib/portable-net45+win8/_._",
"lib/win8/_._",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/net45/_._",
"ref/net461/System.ComponentModel.Annotations.dll",
"ref/net461/System.ComponentModel.Annotations.xml",
"ref/netcore50/System.ComponentModel.Annotations.dll",
"ref/netcore50/System.ComponentModel.Annotations.xml",
"ref/netcore50/de/System.ComponentModel.Annotations.xml",
"ref/netcore50/es/System.ComponentModel.Annotations.xml",
"ref/netcore50/fr/System.ComponentModel.Annotations.xml",
"ref/netcore50/it/System.ComponentModel.Annotations.xml",
"ref/netcore50/ja/System.ComponentModel.Annotations.xml",
"ref/netcore50/ko/System.ComponentModel.Annotations.xml",
"ref/netcore50/ru/System.ComponentModel.Annotations.xml",
"ref/netcore50/zh-hans/System.ComponentModel.Annotations.xml",
"ref/netcore50/zh-hant/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/System.ComponentModel.Annotations.dll",
"ref/netstandard1.1/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/de/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/es/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/fr/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/it/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/ja/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/ko/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/ru/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/zh-hans/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/zh-hant/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/System.ComponentModel.Annotations.dll",
"ref/netstandard1.3/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/de/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/es/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/fr/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/it/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/ja/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/ko/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/ru/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/zh-hans/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/zh-hant/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/System.ComponentModel.Annotations.dll",
"ref/netstandard1.4/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/de/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/es/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/fr/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/it/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/ja/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/ko/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/ru/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/zh-hans/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/zh-hant/System.ComponentModel.Annotations.xml",
"ref/netstandard2.0/System.ComponentModel.Annotations.dll",
"ref/netstandard2.0/System.ComponentModel.Annotations.xml",
"ref/netstandard2.1/System.ComponentModel.Annotations.dll",
"ref/netstandard2.1/System.ComponentModel.Annotations.xml",
"ref/portable-net45+win8/_._",
"ref/win8/_._",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"system.componentmodel.annotations.5.0.0.nupkg.sha512",
"system.componentmodel.annotations.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
}
},
"projectFileDependencyGroups": {
"net6.0": [
"SmartThingsNet >= 0.7.0"
]
},
"packageFolders": {
"C:\\Users\\Imi\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {},
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj",
"projectName": "SmartThings",
"projectPath": "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj",
"packagesPath": "C:\\Users\\Imi\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Imi\\Downloads\\SmartThings\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\Imi\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"SmartThingsNet": {
"target": "Package",
"version": "[0.7.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.108\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -0,0 +1,15 @@
{
"version": 2,
"dgSpecHash": "mm3aTaLH6QwmOWlsD+6Va0389ozpfkInfXmCk+ekCW/IYvLAjouCAvvwfO/cvBj7rBl0wHVIPP8wFmFefYQHkQ==",
"success": true,
"projectFilePath": "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj",
"expectedPackageFiles": [
"C:\\Users\\Imi\\.nuget\\packages\\jsonsubtypes\\1.8.0\\jsonsubtypes.1.8.0.nupkg.sha512",
"C:\\Users\\Imi\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512",
"C:\\Users\\Imi\\.nuget\\packages\\polly\\7.2.2\\polly.7.2.2.nupkg.sha512",
"C:\\Users\\Imi\\.nuget\\packages\\restsharp\\106.15.0\\restsharp.106.15.0.nupkg.sha512",
"C:\\Users\\Imi\\.nuget\\packages\\smartthingsnet\\0.7.0\\smartthingsnet.0.7.0.nupkg.sha512",
"C:\\Users\\Imi\\.nuget\\packages\\system.componentmodel.annotations\\5.0.0\\system.componentmodel.annotations.5.0.0.nupkg.sha512"
],
"logs": []
}