This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Microsoft.Toolkit.Uwp.Notifications; | |
| using Windows.UI.Notifications; | |
| using Windows.Data.Xml.Dom; | |
| namespace WpfAdoNetClient |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-AppxPackage | ? {$_.IsDevelopmentMode -eq "True"} | Remove-AppxPackage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "runtimeOptions": { | |
| "tfm": "netcoreapp3.0", | |
| "framework": { | |
| "name": "Microsoft.DesktopUI.App", | |
| "version": "3.0.0-alpha-27128-4" | |
| }, | |
| "configProperties": { | |
| "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ItemGroup> | |
| <Reference Include="Windows"> | |
| <HintPath>$(MSBuildProgramFiles32)\Windows Kits\10\UnionMetadata\10.0.17134.0\Windows.winmd</HintPath> | |
| <Private>False</Private> | |
| </Reference> | |
| </ItemGroup> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <PackageDependency Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Name="Microsoft.VCLibs.140.00.Debug" MinVersion="14.0.26917.0" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "runtimeOptions": { | |
| "tfm": "netcoreapp3.0", | |
| "framework": { | |
| "name": "Microsoft.WindowsDesktop.App", | |
| "version": "3.0.0-preview-27409-12" | |
| }, | |
| "configProperties": { | |
| "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -----BEGIN CERTIFICATE----- | |
| MIIDCDCCAfCgAwIBAgIQNriD2H3bVblEfoWJthRIqTANBgkqhkiG9w0BAQsFADAV | |
| MRMwEQYDVQQDDApSaWRvVGhlRGV2MB4XDTE5MDMwMTA1MTQ0MFoXDTIwMDMwMTA1 | |
| MzQ0MFowFTETMBEGA1UEAwwKUmlkb1RoZURldjCCASIwDQYJKoZIhvcNAQEBBQAD | |
| ggEPADCCAQoCggEBAJx0nTH3Jtck8Jwz7xJ1aU83oniBcCnP5wc69GjNDoDbMtw/ | |
| VEMQWzU9UO+msW2T1CVC9PIAzvl5tVWK4YzFKKYzmcgksXLH8NRpVKt4E0+NTwqA | |
| 97oyRDtfOeeEcU7osFmK5NfzbDMdr9u4z7PaCu9I/lg+9nPrxAtT99E58rHFoObR | |
| wKiuPmiXQQ29exl8MvkFwsMczdT8KAFyWWR2JdUSxSzEh174PKw6vk/7fKBiCsgX | |
| UoY1TYcykL3ruhRjPMaIaxzirYZY2tZnmmcEY2saFObqV4/P50/urc97RcWR2+U/ | |
| Jek/1TcM1aJe7ee0tHPfhvKNT9dwdrm1jPzDjeUCAwEAAaNUMFIwDgYDVR0PAQH/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -----BEGIN CERTIFICATE----- | |
| MIIDWjCCAkKgAwIBAgIQNTNW0ACgSW2unlFdYp4egjANBgkqhkiG9w0BAQsFADAv | |
| MS0wKwYDVQQDEyRGRDc4NDMyMi0zRDQ0LTREQTQtOUY3My0wRTIzRDVERjA4OTMw | |
| HhcNMTkwMTA0MTkxNDA2WhcNMjAwMTA0MTkyNDA2WjAvMS0wKwYDVQQDEyRGRDc4 | |
| NDMyMi0zRDQ0LTREQTQtOUY3My0wRTIzRDVERjA4OTMwggEiMA0GCSqGSIb3DQEB | |
| AQUAA4IBDwAwggEKAoIBAQDDF4DTogil1NuIGHIDa7VZDYafDt3aEv1lvmcKJhVO | |
| io8T3qleocHY+0qf+B2poyWWNZeLk6K+D2xNX3ejTCae85vJjeWs97D9ERZ+taFl | |
| qfV2wpNwX0kvND9x6pDY2CYmmZPX5eBFi3tOfnoEirPeyZ0TV9NOWc8wPeWB8pjK | |
| qq1yywpWaQYfOUiuLeVqbJin3epn6ywktiR1MiFahjbqSxrQk2qvFpxqMG3KsbBN | |
| na/5O2gTk+GGUVERJruIqpjRCLMCcIhjrufS537AyA9sjXVPPfLycU8CH+AzVOdl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $RootCACert= New-SelfSignedCertificate -KeyUsage KeyEncipherment, DataEncipherment, CertSign -HashAlgorithm SHA256 -KeyUsageProperty All -KeyLength 4096 -Subject "1TestRootCA" -FriendlyName "testRoot" -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" -certstorelocation cert:\CurrentUser\My -dnsname "RidoITHub.azure-devices.net" -TextExtension @("2.5.29.19 ={text}ca=1&pathlength=3") | |
| $IMCACert = New-SelfSignedCertificate -KeyUsage KeyEncipherment, DataEncipherment, CertSign -HashAlgorithm SHA256 -KeyUsageProperty All -KeyLength 4096 -Subject "1TestSubCA01" -FriendlyName "SubCA-01" -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" -certstorelocation cert:\CurrentUser\my -dnsname "RidoITHub.azure-devices.net" -TextExtension @("2.5.29.19 ={text}ca=1&pathlength=0") -Signer $RootCACert | |
| $TestCert = New-SelfSignedCertificate -KeyUsage KeyEncipherment, DataEncipherment -HashAlgorithm SHA256 -KeyUsageProperty All -KeyLength 4096 -Subject "1test-device01" -FriendlyName "Test |