diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml new file mode 100644 index 0000000..58a5045 --- /dev/null +++ b/.github/workflows/update-dependencies.yml @@ -0,0 +1,52 @@ +# Copyright (c) .NET Foundation and Contributors +# See LICENSE file in the project root for full license information. + +# This workflow will periodically check .NET nanoFramework dependencies and updates them in the repository it's running. + +name: Daily update dependencies + +on: + schedule: + # At 00:00 UTC every day. + - cron: '00 00 * * *' + repository_dispatch: + types: update-dependencies + +defaults: + run: + shell: pwsh + +jobs: + update-dotnet-preview: + name: Update .NET nanoFramework dependencies + timeout-minutes: 15 + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v2.3.1 + with: + path: main + - name: Checkout tools repo + uses: actions/checkout@v2.3.1 + with: + repository: nanoframework/nf-tools + path: tools + - name: Update dependencies + run: ./github-actions/update-nf-dependencies.ps1 + working-directory: tools + - name: Create Pull Request + uses: peter-evans/create-pull-request@v3 + if: env.CREATE_PR == 'true' + with: + title: '${{ env.PR_TITLE }}' + body: | + ${{ env.PR_MESSAGE }} + + [version update] + + ### :warning: This is an automated update. :warning: + committer: 'nfbot ' + branch: ${{ env.BRANCH_NAME }} + path: main + labels: | + Type: dependencies diff --git a/.github_changelog_generator b/.github_changelog_generator index d9cc02b..d1ad0de 100644 --- a/.github_changelog_generator +++ b/.github_changelog_generator @@ -1,5 +1,5 @@ user=nanoframework -project=lib-nanoFramework.System.Net +project=System.Net issues=true add_issues_wo_labels=false add_pr_wo_labels=false diff --git a/.gitignore b/.gitignore index ce3e1b1..36fda64 100644 --- a/.gitignore +++ b/.gitignore @@ -253,3 +253,4 @@ paket-files/ #SoundCloud *.sonarqube/ +.sonarlint diff --git a/CHANGELOG.md b/CHANGELOG.md index 392202c..8e878b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,532 +1,852 @@ # Changelog -## [v1.6.1-preview.4](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.6.1-preview.4) (2020-06-16) +## [**Changes available only in 'Preview' NuGet packages:**](https://github.com/nanoframework/System.Net/tree/HEAD) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.6.0...v1.6.1-preview.4) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.7.0-preview.8...HEAD) **Documentation and other chores:** -- Bumps nanoFramework.System.Text from 1.0.0 to 1.1.0 [\#134](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/134) +- Bumps nanoFramework.System.Text from 1.1.1-preview.70 to 1.1.1 [\#199](https://github.com/nanoframework/System.Net/pull/199) -## [v1.6.0](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.6.0) (2020-06-16) +## [v1.7.0-preview.8](https://github.com/nanoframework/System.Net/tree/v1.7.0-preview.8) (2021-07-15) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.6.1-preview.2...v1.6.0) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.7.0-preview.6...v1.7.0-preview.8) **Documentation and other chores:** -- Release release-v1.6.0 [\#133](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/133) +- Update 2 nuget dependencies [\#198](https://github.com/nanoframework/System.Net/pull/198) -## [v1.6.1-preview.2](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.6.1-preview.2) (2020-06-16) +## [v1.7.0-preview.6](https://github.com/nanoframework/System.Net/tree/v1.7.0-preview.6) (2021-07-14) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.6.0-preview.6...v1.6.1-preview.2) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.7.0-preview.4...v1.7.0-preview.6) -## [v1.6.0-preview.6](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.6.0-preview.6) (2020-06-16) +**Documentation and other chores:** + +- Update 1 nuget dependencies [\#197](https://github.com/nanoframework/System.Net/pull/197) +- Update 3 NuGet dependencies [\#196](https://github.com/nanoframework/System.Net/pull/196) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.5.0...v1.6.0-preview.6) +## [v1.7.0-preview.4](https://github.com/nanoframework/System.Net/tree/v1.7.0-preview.4) (2021-06-19) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.7.0-preview.1...v1.7.0-preview.4) **Documentation and other chores:** -- Update 3 NuGet dependencies [\#132](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/132) +- Update 3 NuGet dependencies [\#195](https://github.com/nanoframework/System.Net/pull/195) -## [v1.5.0](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.5.0) (2020-06-12) +## [v1.7.0-preview.1](https://github.com/nanoframework/System.Net/tree/v1.7.0-preview.1) (2021-06-17) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.5.0-preview.7...v1.5.0) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.35...v1.7.0-preview.1) + +**Implemented enhancements:** + +- Adding X509Certificate2 Public and Private Key buffer access [\#194](https://github.com/nanoframework/System.Net/pull/194) **Documentation and other chores:** -- Release release-v1.5.0 [\#131](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/131) +- Update 3 NuGet dependencies [\#193](https://github.com/nanoframework/System.Net/pull/193) -## [v1.5.0-preview.7](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.5.0-preview.7) (2020-06-12) +## [v1.6.5-preview.35](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.35) (2021-06-07) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.5.0-preview.2...v1.5.0-preview.7) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.33...v1.6.5-preview.35) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#130](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/130) -- Update 3 NuGet dependencies [\#129](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/129) -- Update 3 NuGet dependencies [\#128](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/128) +- Update 3 NuGet dependencies [\#192](https://github.com/nanoframework/System.Net/pull/192) -## [v1.5.0-preview.2](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.5.0-preview.2) (2020-06-03) +## [v1.6.5-preview.33](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.33) (2021-06-07) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.5.0-preview.1...v1.5.0-preview.2) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.31...v1.6.5-preview.33) -**Fixed bugs:** +**Documentation and other chores:** -- Fix declaration of wireless config enums [\#127](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/127) +- Update 3 nuget dependencies [\#191](https://github.com/nanoframework/System.Net/pull/191) +- Update 2 NuGet dependencies [\#181](https://github.com/nanoframework/System.Net/pull/181) +- Update 1 nuget dependencies [\#180](https://github.com/nanoframework/System.Net/pull/180) +- Update 1 nuget dependencies [\#179](https://github.com/nanoframework/System.Net/pull/179) +- Update 1 nuget dependencies [\#178](https://github.com/nanoframework/System.Net/pull/178) -## [v1.5.0-preview.1](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.5.0-preview.1) (2020-06-03) +## [v1.6.5-preview.31](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.31) (2021-06-01) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.21...v1.5.0-preview.1) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.23...v1.6.5-preview.31) -**Implemented enhancements:** +## [v1.6.5-preview.23](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.23) (2021-05-21) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.21...v1.6.5-preview.23) + +**Documentation and other chores:** + +- Update 1 nuget dependencies [\#177](https://github.com/nanoframework/System.Net/pull/177) + +## [v1.6.5-preview.21](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.21) (2021-05-19) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.19...v1.6.5-preview.21) + +**Documentation and other chores:** + +- Update 3 NuGet dependencies [\#176](https://github.com/nanoframework/System.Net/pull/176) + +## [v1.6.5-preview.19](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.19) (2021-05-19) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.17...v1.6.5-preview.19) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#175](https://github.com/nanoframework/System.Net/pull/175) + +## [v1.6.5-preview.17](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.17) (2021-05-15) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.15...v1.6.5-preview.17) -- Update Wireless ConfigurationOptions [\#126](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/126) +**Documentation and other chores:** + +- Bumps nanoFramework.System.Text from 1.1.1-preview.47 to 1.1.1-preview.48 [\#174](https://github.com/nanoframework/System.Net/pull/174) -## [v1.4.1-preview.21](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.21) (2020-05-31) +## [v1.6.5-preview.15](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.15) (2021-05-13) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.20...v1.4.1-preview.21) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.14...v1.6.5-preview.15) **Documentation and other chores:** -- Bumps nanoFramework.System.Text from 1.0.0-preview.16 to 1.0.0-preview.22 [\#125](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/125) +- Update 3 NuGet dependencies [\#173](https://github.com/nanoframework/System.Net/pull/173) -## [v1.4.1-preview.20](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.20) (2020-05-30) +## [v1.6.5-preview.14](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.14) (2021-05-11) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.19...v1.4.1-preview.20) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.13...v1.6.5-preview.14) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#124](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/124) +- Bumps nanoFramework.Runtime.Events from 1.9.0-preview.16 to 1.9.0-preview.22 [\#172](https://github.com/nanoframework/System.Net/pull/172) -## [v1.4.1-preview.19](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.19) (2020-05-08) +## [v1.6.5-preview.13](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.13) (2021-05-06) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.18...v1.4.1-preview.19) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.12...v1.6.5-preview.13) **Documentation and other chores:** -- Update 3 NuGet dependencies [\#123](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/123) +- Bumps nanoFramework.System.Text from 1.1.1-preview.45 to 1.1.1-preview.46 [\#171](https://github.com/nanoframework/System.Net/pull/171) -## [v1.4.1-preview.18](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.18) (2020-05-08) +## [v1.6.5-preview.12](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.12) (2021-05-05) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.16...v1.4.1-preview.18) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.11...v1.6.5-preview.12) **Documentation and other chores:** -- Update 3 NuGet dependencies [\#122](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/122) -- Update 3 NuGet dependencies [\#121](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/121) +- Bumps nanoFramework.System.Text from 1.1.1-preview.40 to 1.1.1-preview.45 [\#170](https://github.com/nanoframework/System.Net/pull/170) -## [v1.4.1-preview.16](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.16) (2020-04-27) +## [v1.6.5-preview.11](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.11) (2021-05-05) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.15...v1.4.1-preview.16) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.7...v1.6.5-preview.11) **Documentation and other chores:** -- Update 3 NuGet dependencies [\#120](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/120) +- Update 1 nuget dependencies [\#169](https://github.com/nanoframework/System.Net/pull/169) -## [v1.4.1-preview.15](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.15) (2020-04-16) +## [v1.6.5-preview.7](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.7) (2021-04-10) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.13...v1.4.1-preview.15) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.5-preview.2...v1.6.5-preview.7) **Documentation and other chores:** -- Update 3 NuGet dependencies [\#119](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/119) +- Update 1 nuget dependencies [\#168](https://github.com/nanoframework/System.Net/pull/168) +- Update 3 NuGet dependencies [\#167](https://github.com/nanoframework/System.Net/pull/167) -## [v1.4.1-preview.13](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.13) (2020-04-14) +## [v1.6.5-preview.2](https://github.com/nanoframework/System.Net/tree/v1.6.5-preview.2) (2021-03-21) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.12...v1.4.1-preview.13) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.4-preview.3...v1.6.5-preview.2) + +**Implemented enhancements:** + +- Add UseStoredDeviceCertificate to SecureSocket [\#165](https://github.com/nanoframework/System.Net/pull/165) **Documentation and other chores:** -- Update 3 NuGet dependencies [\#118](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/118) +- Update 3 NuGet dependencies [\#166](https://github.com/nanoframework/System.Net/pull/166) + +## [v1.6.4-preview.3](https://github.com/nanoframework/System.Net/tree/v1.6.4-preview.3) (2021-03-19) -## [v1.4.1-preview.12](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.12) (2020-03-15) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.35...v1.6.4-preview.3) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.8...v1.4.1-preview.12) +**Implemented enhancements:** + +- Replace conversion with native implementations [\#164](https://github.com/nanoframework/System.Net/pull/164) +- Expose Address field in IPAddress [\#163](https://github.com/nanoframework/System.Net/pull/163) +- Improvements in Network information [\#162](https://github.com/nanoframework/System.Net/pull/162) + +## [v1.6.3-preview.35](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.35) (2021-03-17) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.33...v1.6.3-preview.35) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.4.1-preview.9 to 1.4.2-preview.1 [\#117](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/117) -- Bumps nanoFramework.System.Text from 1.0.0-preview.1 to 1.0.0-preview.8 [\#116](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/116) +- Bumps nanoFramework.System.Text from 1.1.1-preview.29 to 1.1.1-preview.33 [\#161](https://github.com/nanoframework/System.Net/pull/161) -## [v1.4.1-preview.8](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.8) (2020-03-10) +## [v1.6.3-preview.33](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.33) (2021-03-02) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.6...v1.4.1-preview.8) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.29...v1.6.3-preview.33) **Documentation and other chores:** -- Bumps nanoFramework.System.Text from 1.0.0-preview.1 to 1.0.0-preview.8 [\#115](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/115) -- Update 2 NuGet dependencies [\#114](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/114) +- Update 3 NuGet dependencies [\#159](https://github.com/nanoframework/System.Net/pull/159) +- Update 3 NuGet dependencies [\#158](https://github.com/nanoframework/System.Net/pull/158) -## [v1.4.1-preview.6](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.6) (2020-03-10) +## [v1.6.3-preview.29](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.29) (2021-01-06) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.5...v1.4.1-preview.6) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.27...v1.6.3-preview.29) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#113](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/113) +- Update 3 NuGet dependencies [\#157](https://github.com/nanoframework/System.Net/pull/157) +- Update 3 NuGet dependencies [\#156](https://github.com/nanoframework/System.Net/pull/156) -## [v1.4.1-preview.5](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.5) (2020-03-09) +## [v1.6.3-preview.27](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.27) (2020-12-29) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.3...v1.4.1-preview.5) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.25...v1.6.3-preview.27) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#111](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/111) +- Update 3 NuGet dependencies [\#155](https://github.com/nanoframework/System.Net/pull/155) +- Update 3 NuGet dependencies [\#154](https://github.com/nanoframework/System.Net/pull/154) -## [v1.4.1-preview.3](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.3) (2020-01-13) +## [v1.6.3-preview.25](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.25) (2020-12-28) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.23...v1.6.3-preview.25) + +**Documentation and other chores:** -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.2...v1.4.1-preview.3) +- Update 3 NuGet dependencies [\#153](https://github.com/nanoframework/System.Net/pull/153) + +## [v1.6.3-preview.23](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.23) (2020-12-23) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.19...v1.6.3-preview.23) **Fixed bugs:** -- Fix return value of GetEndpoint\(\) [\#110](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/110) +- Exception handling & memory leak fixes [\#152](https://github.com/nanoframework/System.Net/pull/152) + +**Documentation and other chores:** + +- Bumps nanoFramework.Runtime.Events from 1.8.2-preview.13 to 1.9.0-preview.2 [\#151](https://github.com/nanoframework/System.Net/pull/151) -## [v1.4.1-preview.2](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.2) (2019-11-14) +## [v1.6.3-preview.19](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.19) (2020-12-07) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.1-preview.1...v1.4.1-preview.2) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.17...v1.6.3-preview.19) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#109](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/109) +- Bumps nanoFramework.Runtime.Events from 1.8.2-preview.13 to 1.9.0-preview.2 [\#150](https://github.com/nanoframework/System.Net/pull/150) +- Update 3 NuGet dependencies [\#149](https://github.com/nanoframework/System.Net/pull/149) -## [v1.4.1-preview.1](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.1-preview.1) (2019-11-12) +## [v1.6.3-preview.17](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.17) (2020-12-07) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.0-preview.7...v1.4.1-preview.1) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.15...v1.6.3-preview.17) **Documentation and other chores:** -- Update and fix Authenticate methods [\#108](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/108) +- Update 3 NuGet dependencies [\#148](https://github.com/nanoframework/System.Net/pull/148) -## [v1.4.0-preview.7](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.0-preview.7) (2019-11-07) +## [v1.6.3-preview.15](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.15) (2020-10-21) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.0-preview.6...v1.4.0-preview.7) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.11...v1.6.3-preview.15) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#107](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/107) +- Bumps nanoFramework.System.Text from 1.1.1-preview.12 to 1.1.1-preview.14 [\#147](https://github.com/nanoframework/System.Net/pull/147) +- Update 2 NuGet dependencies [\#146](https://github.com/nanoframework/System.Net/pull/146) +- Update 3 NuGet dependencies [\#145](https://github.com/nanoframework/System.Net/pull/145) -## [v1.4.0-preview.6](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.0-preview.6) (2019-11-05) +## [v1.6.3-preview.11](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.11) (2020-10-20) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.0-preview.5...v1.4.0-preview.6) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.9...v1.6.3-preview.11) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.4.1-preview.1 to 1.4.1-preview.2 [\#106](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/106) +- Update 3 NuGet dependencies [\#144](https://github.com/nanoframework/System.Net/pull/144) -## [v1.4.0-preview.5](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.0-preview.5) (2019-11-04) +## [v1.6.3-preview.9](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.9) (2020-10-01) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.0-preview.4...v1.4.0-preview.5) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.7...v1.6.3-preview.9) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#105](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/105) +- Bumps nanoFramework.System.Text from 1.1.1-preview.2 to 1.1.1-preview.10 [\#143](https://github.com/nanoframework/System.Net/pull/143) -## [v1.4.0-preview.4](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.0-preview.4) (2019-10-23) +## [v1.6.3-preview.7](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.7) (2020-09-30) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.4.0-preview.3...v1.4.0-preview.4) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.5...v1.6.3-preview.7) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#103](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/103) +- Bumps nanoFramework.Runtime.Events from 1.8.2-preview.3 to 1.8.2-preview.5 [\#142](https://github.com/nanoframework/System.Net/pull/142) -## [v1.4.0-preview.3](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.4.0-preview.3) (2019-10-18) +## [v1.6.3-preview.5](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.5) (2020-09-30) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.3.0...v1.4.0-preview.3) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.3...v1.6.3-preview.5) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#102](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/102) +- Update 2 NuGet dependencies [\#141](https://github.com/nanoframework/System.Net/pull/141) -## [v1.3.0](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.3.0) (2019-10-17) +## [v1.6.3-preview.3](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.3) (2020-09-27) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.3.0-preview.4...v1.3.0) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.3-preview.1...v1.6.3-preview.3) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#96](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/96) +- Bumps nanoFramework.Runtime.Events from 1.8.1-preview.22 to 1.8.2-preview.1 [\#140](https://github.com/nanoframework/System.Net/pull/140) + +## [v1.6.3-preview.1](https://github.com/nanoframework/System.Net/tree/v1.6.3-preview.1) (2020-09-27) -## [v1.3.0-preview.4](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.3.0-preview.4) (2019-10-17) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.2-preview.4...v1.6.3-preview.1) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.2.2...v1.3.0-preview.4) +## [v1.6.2-preview.4](https://github.com/nanoframework/System.Net/tree/v1.6.2-preview.4) (2020-09-19) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.2-preview.2...v1.6.2-preview.4) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#100](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/100) +- Bumps nanoFramework.System.Text from 1.1.0 to 1.1.1-preview.2 [\#139](https://github.com/nanoframework/System.Net/pull/139) + +## [v1.6.2-preview.2](https://github.com/nanoframework/System.Net/tree/v1.6.2-preview.2) (2020-09-19) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.2-preview.5...v1.6.2-preview.2) -## [v1.2.2](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.2.2) (2019-10-15) +**Documentation and other chores:** -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.2.2-preview.8...v1.2.2) +- Update dependencies [\#138](https://github.com/nanoframework/System.Net/pull/138) -## [v1.2.2-preview.8](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.2.2-preview.8) (2019-10-15) +## [v1.6.2-preview.5](https://github.com/nanoframework/System.Net/tree/v1.6.2-preview.5) (2020-07-02) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.2.2-preview.7...v1.2.2-preview.8) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.2-preview.3...v1.6.2-preview.5) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.1.1-preview.4 to 1.1.1 [\#94](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/94) +- Bumps nanoFramework.Runtime.Events from 1.8.1-alpha.18 to 1.8.1-preview.22 [\#137](https://github.com/nanoframework/System.Net/pull/137) -## [v1.2.2-preview.7](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.2.2-preview.7) (2019-10-15) +## [v1.6.2-preview.3](https://github.com/nanoframework/System.Net/tree/v1.6.2-preview.3) (2020-07-01) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.2.2-preview.5...v1.2.2-preview.7) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.1...v1.6.2-preview.3) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#93](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/93) +- Bumps nanoFramework.Runtime.Events from 1.8.0 to 1.8.1-alpha.18 [\#136](https://github.com/nanoframework/System.Net/pull/136) -## [v1.2.2-preview.5](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.2.2-preview.5) (2019-10-01) +## [v1.6.1](https://github.com/nanoframework/System.Net/tree/v1.6.1) (2020-06-16) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.2.2-preview.4...v1.2.2-preview.5) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.1-preview.4...v1.6.1) -## [v1.2.2-preview.4](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.2.2-preview.4) (2019-09-30) +## [v1.6.1-preview.4](https://github.com/nanoframework/System.Net/tree/v1.6.1-preview.4) (2020-06-16) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.2.2-preview.1...v1.2.2-preview.4) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.0...v1.6.1-preview.4) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.1.0-preview.4 to 1.1.1-preview.1 [\#92](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/92) +- Bumps nanoFramework.System.Text from 1.0.0 to 1.1.0 [\#134](https://github.com/nanoframework/System.Net/pull/134) -## [v1.2.2-preview.1](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.2.2-preview.1) (2019-08-30) +## [v1.6.0](https://github.com/nanoframework/System.Net/tree/v1.6.0) (2020-06-16) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.2.0-preview.6...v1.2.2-preview.1) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.1-preview.2...v1.6.0) -**Implemented enhancements:** +## [v1.6.1-preview.2](https://github.com/nanoframework/System.Net/tree/v1.6.1-preview.2) (2020-06-16) -- Soft Access Point configuration for ESP32 [\#91](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/91) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.6.0-preview.6...v1.6.1-preview.2) -## [v1.2.0-preview.6](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.2.0-preview.6) (2019-08-23) +## [v1.6.0-preview.6](https://github.com/nanoframework/System.Net/tree/v1.6.0-preview.6) (2020-06-16) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.2.0-preview.1...v1.2.0-preview.6) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.5.0...v1.6.0-preview.6) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#90](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/90) +- Update 3 NuGet dependencies [\#132](https://github.com/nanoframework/System.Net/pull/132) + +## [v1.5.0](https://github.com/nanoframework/System.Net/tree/v1.5.0) (2020-06-12) -## [v1.2.0-preview.1](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.2.0-preview.1) (2019-07-18) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.5.0-preview.7...v1.5.0) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.1.1-preview.24...v1.2.0-preview.1) +## [v1.5.0-preview.7](https://github.com/nanoframework/System.Net/tree/v1.5.0-preview.7) (2020-06-12) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.5.0-preview.2...v1.5.0-preview.7) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#130](https://github.com/nanoframework/System.Net/pull/130) +- Update 3 NuGet dependencies [\#129](https://github.com/nanoframework/System.Net/pull/129) +- Update 3 NuGet dependencies [\#128](https://github.com/nanoframework/System.Net/pull/128) + +## [v1.5.0-preview.2](https://github.com/nanoframework/System.Net/tree/v1.5.0-preview.2) (2020-06-03) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.5.0-preview.1...v1.5.0-preview.2) + +**Fixed bugs:** + +- Fix declaration of wireless config enums [\#127](https://github.com/nanoframework/System.Net/pull/127) + +## [v1.5.0-preview.1](https://github.com/nanoframework/System.Net/tree/v1.5.0-preview.1) (2020-06-03) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.21...v1.5.0-preview.1) **Implemented enhancements:** -- Add X509Certificate2 [\#89](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/89) +- Update Wireless ConfigurationOptions [\#126](https://github.com/nanoframework/System.Net/pull/126) -## [v1.1.1-preview.24](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.1.1-preview.24) (2019-07-18) +## [v1.4.1-preview.21](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.21) (2020-05-31) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.1.1-preview.18...v1.1.1-preview.24) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.20...v1.4.1-preview.21) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#88](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/88) -- Update readme.txt [\#87](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/87) +- Bumps nanoFramework.System.Text from 1.0.0-preview.16 to 1.0.0-preview.22 [\#125](https://github.com/nanoframework/System.Net/pull/125) -## [v1.1.1-preview.18](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.1.1-preview.18) (2019-06-23) +## [v1.4.1-preview.20](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.20) (2020-05-30) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.1.1-preview.12...v1.1.1-preview.18) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.19...v1.4.1-preview.20) **Documentation and other chores:** -- Work on native assembly declaration [\#84](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/84) +- Update 2 NuGet dependencies [\#124](https://github.com/nanoframework/System.Net/pull/124) -## [v1.1.1-preview.12](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.1.1-preview.12) (2019-06-20) +## [v1.4.1-preview.19](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.19) (2020-05-08) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.1.1-preview.9...v1.1.1-preview.12) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.18...v1.4.1-preview.19) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#83](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/83) +- Update 3 NuGet dependencies [\#123](https://github.com/nanoframework/System.Net/pull/123) -## [v1.1.1-preview.9](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.1.1-preview.9) (2019-06-12) +## [v1.4.1-preview.18](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.18) (2020-05-08) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.1.1-preview.5...v1.1.1-preview.9) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.16...v1.4.1-preview.18) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#82](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/82) +- Update 3 NuGet dependencies [\#122](https://github.com/nanoframework/System.Net/pull/122) +- Update 3 NuGet dependencies [\#121](https://github.com/nanoframework/System.Net/pull/121) -## [v1.1.1-preview.5](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.1.1-preview.5) (2019-06-12) +## [v1.4.1-preview.16](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.16) (2020-04-27) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.1.1-preview.1...v1.1.1-preview.5) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.15...v1.4.1-preview.16) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#86](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/86) -- Update 2 NuGet dependencies [\#81](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/81) +- Update 3 NuGet dependencies [\#120](https://github.com/nanoframework/System.Net/pull/120) + +## [v1.4.1-preview.15](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.15) (2020-04-16) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.13...v1.4.1-preview.15) + +**Documentation and other chores:** + +- Update 3 NuGet dependencies [\#119](https://github.com/nanoframework/System.Net/pull/119) + +## [v1.4.1-preview.13](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.13) (2020-04-14) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.12...v1.4.1-preview.13) + +**Documentation and other chores:** + +- Update 3 NuGet dependencies [\#118](https://github.com/nanoframework/System.Net/pull/118) + +## [v1.4.1-preview.12](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.12) (2020-03-15) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.8...v1.4.1-preview.12) + +**Documentation and other chores:** -## [v1.1.1-preview.1](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.1.1-preview.1) (2019-06-05) +- Bumps nanoFramework.Runtime.Events from 1.4.1-preview.9 to 1.4.2-preview.1 [\#117](https://github.com/nanoframework/System.Net/pull/117) +- Bumps nanoFramework.System.Text from 1.0.0-preview.1 to 1.0.0-preview.8 [\#116](https://github.com/nanoframework/System.Net/pull/116) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.1.0-preview.1...v1.1.1-preview.1) +## [v1.4.1-preview.8](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.8) (2020-03-10) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.6...v1.4.1-preview.8) + +**Documentation and other chores:** + +- Bumps nanoFramework.System.Text from 1.0.0-preview.1 to 1.0.0-preview.8 [\#115](https://github.com/nanoframework/System.Net/pull/115) +- Update 2 NuGet dependencies [\#114](https://github.com/nanoframework/System.Net/pull/114) + +## [v1.4.1-preview.6](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.6) (2020-03-10) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.5...v1.4.1-preview.6) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#113](https://github.com/nanoframework/System.Net/pull/113) + +## [v1.4.1-preview.5](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.5) (2020-03-09) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.3...v1.4.1-preview.5) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#111](https://github.com/nanoframework/System.Net/pull/111) + +## [v1.4.1-preview.3](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.3) (2020-01-13) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.2...v1.4.1-preview.3) **Fixed bugs:** -- Fix calls address parameters [\#76](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/76) +- Fix return value of GetEndpoint\(\) [\#110](https://github.com/nanoframework/System.Net/pull/110) + +## [v1.4.1-preview.2](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.2) (2019-11-14) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.1-preview.1...v1.4.1-preview.2) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#109](https://github.com/nanoframework/System.Net/pull/109) + +## [v1.4.1-preview.1](https://github.com/nanoframework/System.Net/tree/v1.4.1-preview.1) (2019-11-12) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.0-preview.7...v1.4.1-preview.1) + +**Documentation and other chores:** + +- Update and fix Authenticate methods [\#108](https://github.com/nanoframework/System.Net/pull/108) + +## [v1.4.0-preview.7](https://github.com/nanoframework/System.Net/tree/v1.4.0-preview.7) (2019-11-07) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.0-preview.6...v1.4.0-preview.7) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#107](https://github.com/nanoframework/System.Net/pull/107) + +## [v1.4.0-preview.6](https://github.com/nanoframework/System.Net/tree/v1.4.0-preview.6) (2019-11-05) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.0-preview.5...v1.4.0-preview.6) + +**Documentation and other chores:** + +- Bumps nanoFramework.Runtime.Events from 1.4.1-preview.1 to 1.4.1-preview.2 [\#106](https://github.com/nanoframework/System.Net/pull/106) + +## [v1.4.0-preview.5](https://github.com/nanoframework/System.Net/tree/v1.4.0-preview.5) (2019-11-04) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.0-preview.4...v1.4.0-preview.5) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#105](https://github.com/nanoframework/System.Net/pull/105) + +## [v1.4.0-preview.4](https://github.com/nanoframework/System.Net/tree/v1.4.0-preview.4) (2019-10-23) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.4.0-preview.3...v1.4.0-preview.4) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#103](https://github.com/nanoframework/System.Net/pull/103) + +## [v1.4.0-preview.3](https://github.com/nanoframework/System.Net/tree/v1.4.0-preview.3) (2019-10-18) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.3.0...v1.4.0-preview.3) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#102](https://github.com/nanoframework/System.Net/pull/102) + +## [v1.3.0](https://github.com/nanoframework/System.Net/tree/v1.3.0) (2019-10-17) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.3.0-preview.4...v1.3.0) -## [v1.1.0-preview.1](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.1.0-preview.1) (2019-06-04) +## [v1.3.0-preview.4](https://github.com/nanoframework/System.Net/tree/v1.3.0-preview.4) (2019-10-17) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.2.2...v1.3.0-preview.4) + +**Documentation and other chores:** -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.6-preview-026...v1.1.0-preview.1) +- Update 2 NuGet dependencies [\#100](https://github.com/nanoframework/System.Net/pull/100) + +## [v1.2.2](https://github.com/nanoframework/System.Net/tree/v1.2.2) (2019-10-15) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.2.2-preview.8...v1.2.2) + +## [v1.2.2-preview.8](https://github.com/nanoframework/System.Net/tree/v1.2.2-preview.8) (2019-10-15) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.2.2-preview.7...v1.2.2-preview.8) + +**Documentation and other chores:** + +- Bumps nanoFramework.Runtime.Events from 1.1.1-preview.4 to 1.1.1 [\#94](https://github.com/nanoframework/System.Net/pull/94) + +## [v1.2.2-preview.7](https://github.com/nanoframework/System.Net/tree/v1.2.2-preview.7) (2019-10-15) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.2.2-preview.5...v1.2.2-preview.7) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#93](https://github.com/nanoframework/System.Net/pull/93) + +## [v1.2.2-preview.5](https://github.com/nanoframework/System.Net/tree/v1.2.2-preview.5) (2019-10-01) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.2.2-preview.4...v1.2.2-preview.5) + +## [v1.2.2-preview.4](https://github.com/nanoframework/System.Net/tree/v1.2.2-preview.4) (2019-09-30) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.2.2-preview.1...v1.2.2-preview.4) + +**Documentation and other chores:** + +- Bumps nanoFramework.Runtime.Events from 1.1.0-preview.4 to 1.1.1-preview.1 [\#92](https://github.com/nanoframework/System.Net/pull/92) + +## [v1.2.2-preview.1](https://github.com/nanoframework/System.Net/tree/v1.2.2-preview.1) (2019-08-30) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.2.0-preview.6...v1.2.2-preview.1) **Implemented enhancements:** -- Remove SSL3 and Default from SslProtocols [\#75](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/75) -- Major rework on Sockets [\#74](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/74) +- Soft Access Point configuration for ESP32 [\#91](https://github.com/nanoframework/System.Net/pull/91) + +## [v1.2.0-preview.6](https://github.com/nanoframework/System.Net/tree/v1.2.0-preview.6) (2019-08-23) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.2.0-preview.1...v1.2.0-preview.6) + +**Documentation and other chores:** -## [v1.0.6-preview-026](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.6-preview-026) (2019-05-31) +- Update 2 NuGet dependencies [\#90](https://github.com/nanoframework/System.Net/pull/90) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.6-preview-024...v1.0.6-preview-026) +## [v1.2.0-preview.1](https://github.com/nanoframework/System.Net/tree/v1.2.0-preview.1) (2019-07-18) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.1.1-preview.24...v1.2.0-preview.1) **Implemented enhancements:** -- Add remote end point field to Socket [\#73](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/73) +- Add X509Certificate2 [\#89](https://github.com/nanoframework/System.Net/pull/89) + +## [v1.1.1-preview.24](https://github.com/nanoframework/System.Net/tree/v1.1.1-preview.24) (2019-07-18) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.1.1-preview.18...v1.1.1-preview.24) + +**Documentation and other chores:** + +- Update 2 NuGet dependencies [\#88](https://github.com/nanoframework/System.Net/pull/88) +- Update readme.txt [\#87](https://github.com/nanoframework/System.Net/pull/87) -## [v1.0.6-preview-024](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.6-preview-024) (2019-04-24) +## [v1.1.1-preview.18](https://github.com/nanoframework/System.Net/tree/v1.1.1-preview.18) (2019-06-23) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.6-preview-023...v1.0.6-preview-024) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.1.1-preview.12...v1.1.1-preview.18) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.0.5-preview-019 to 1.0.6-preview-001 [\#72](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/72) +- Update 2 NuGet dependencies [\#86](https://github.com/nanoframework/System.Net/pull/86) +- Work on native assembly declaration [\#84](https://github.com/nanoframework/System.Net/pull/84) -## [v1.0.6-preview-023](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.6-preview-023) (2019-04-23) +## [v1.1.1-preview.12](https://github.com/nanoframework/System.Net/tree/v1.1.1-preview.12) (2019-06-20) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.6-preview-017...v1.0.6-preview-023) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.1.1-preview.9...v1.1.1-preview.12) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#71](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/71) +- Update 2 NuGet dependencies [\#83](https://github.com/nanoframework/System.Net/pull/83) -## [v1.0.6-preview-017](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.6-preview-017) (2019-04-07) +## [v1.1.1-preview.9](https://github.com/nanoframework/System.Net/tree/v1.1.1-preview.9) (2019-06-12) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.6-preview-015...v1.0.6-preview-017) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.1.1-preview.5...v1.1.1-preview.9) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.0.5-preview-010 to 1.0.5-preview-012 [\#70](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/70) +- Update 2 NuGet dependencies [\#82](https://github.com/nanoframework/System.Net/pull/82) -## [v1.0.6-preview-015](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.6-preview-015) (2019-04-03) +## [v1.1.1-preview.5](https://github.com/nanoframework/System.Net/tree/v1.1.1-preview.5) (2019-06-12) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.6-preview-013...v1.0.6-preview-015) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.1.1-preview.1...v1.1.1-preview.5) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.0.5-preview-008 to 1.0.5-preview-010 [\#69](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/69) +- Update 2 NuGet dependencies [\#81](https://github.com/nanoframework/System.Net/pull/81) -## [v1.0.6-preview-013](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.6-preview-013) (2019-03-26) +## [v1.1.1-preview.1](https://github.com/nanoframework/System.Net/tree/v1.1.1-preview.1) (2019-06-05) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.6-preview-011...v1.0.6-preview-013) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.1.0-preview.1...v1.1.1-preview.1) **Fixed bugs:** -- Fix missing setting of socket type [\#68](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/68) +- Fix calls address parameters [\#76](https://github.com/nanoframework/System.Net/pull/76) -## [v1.0.6-preview-011](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.6-preview-011) (2019-03-22) +## [v1.1.0-preview.1](https://github.com/nanoframework/System.Net/tree/v1.1.0-preview.1) (2019-06-04) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.6-preview-009...v1.0.6-preview-011) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.6-preview-026...v1.1.0-preview.1) **Implemented enhancements:** -- Add SocketType property to Socket [\#67](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/67) +- Remove SSL3 and Default from SslProtocols [\#75](https://github.com/nanoframework/System.Net/pull/75) +- Major rework on Sockets [\#74](https://github.com/nanoframework/System.Net/pull/74) -## [v1.0.6-preview-009](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.6-preview-009) (2019-03-11) +## [v1.0.6-preview-026](https://github.com/nanoframework/System.Net/tree/v1.0.6-preview-026) (2019-05-31) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.6-preview-005...v1.0.6-preview-009) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.6-preview-024...v1.0.6-preview-026) **Implemented enhancements:** -- Remove local implementation of Int32 converter [\#66](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/66) -- Fix GetDefaultLocalAddress [\#65](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/65) +- Add remote end point field to Socket [\#73](https://github.com/nanoframework/System.Net/pull/73) -## [v1.0.6-preview-005](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.6-preview-005) (2019-03-11) +## [v1.0.6-preview-024](https://github.com/nanoframework/System.Net/tree/v1.0.6-preview-024) (2019-04-24) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.6-preview-003...v1.0.6-preview-005) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.6-preview-023...v1.0.6-preview-024) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.0.5-preview-007 to 1.0.5-preview-008 [\#64](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/64) +- Bumps nanoFramework.Runtime.Events from 1.0.5-preview-019 to 1.0.6-preview-001 [\#72](https://github.com/nanoframework/System.Net/pull/72) -## [v1.0.6-preview-003](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.6-preview-003) (2019-03-10) +## [v1.0.6-preview-023](https://github.com/nanoframework/System.Net/tree/v1.0.6-preview-023) (2019-04-23) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.5-preview-001...v1.0.6-preview-003) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.6-preview-017...v1.0.6-preview-023) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.0.5-preview-003 to 1.0.5-preview-007 [\#63](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/63) +- Update 2 NuGet dependencies [\#71](https://github.com/nanoframework/System.Net/pull/71) -## [v1.0.5-preview-001](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.5-preview-001) (2019-03-07) +## [v1.0.6-preview-017](https://github.com/nanoframework/System.Net/tree/v1.0.6-preview-017) (2019-04-07) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.3-preview-009...v1.0.5-preview-001) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.6-preview-015...v1.0.6-preview-017) -## [v1.0.3-preview-009](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.3-preview-009) (2019-03-06) +**Documentation and other chores:** + +- Bumps nanoFramework.Runtime.Events from 1.0.5-preview-010 to 1.0.5-preview-012 [\#70](https://github.com/nanoframework/System.Net/pull/70) + +## [v1.0.6-preview-015](https://github.com/nanoframework/System.Net/tree/v1.0.6-preview-015) (2019-04-03) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.4...v1.0.3-preview-009) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.6-preview-013...v1.0.6-preview-015) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.0.4 to 1.0.5-preview-003 [\#61](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/61) +- Bumps nanoFramework.Runtime.Events from 1.0.5-preview-008 to 1.0.5-preview-010 [\#69](https://github.com/nanoframework/System.Net/pull/69) -## [v1.0.4](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.4) (2019-01-22) +## [v1.0.6-preview-013](https://github.com/nanoframework/System.Net/tree/v1.0.6-preview-013) (2019-03-26) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.3-preview-003...v1.0.4) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.6-preview-011...v1.0.6-preview-013) -**Documentation and other chores:** +**Fixed bugs:** + +- Fix missing setting of socket type [\#68](https://github.com/nanoframework/System.Net/pull/68) -- Update 2 NuGet dependencies [\#59](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/59) +## [v1.0.6-preview-011](https://github.com/nanoframework/System.Net/tree/v1.0.6-preview-011) (2019-03-22) -## [v1.0.3-preview-003](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.3-preview-003) (2019-01-03) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.6-preview-009...v1.0.6-preview-011) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.2...v1.0.3-preview-003) +**Implemented enhancements:** + +- Add SocketType property to Socket [\#67](https://github.com/nanoframework/System.Net/pull/67) + +## [v1.0.6-preview-009](https://github.com/nanoframework/System.Net/tree/v1.0.6-preview-009) (2019-03-11) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.6-preview-005...v1.0.6-preview-009) **Implemented enhancements:** -- Add CertificateManager class [\#51](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/51) +- Remove local implementation of Int32 converter [\#66](https://github.com/nanoframework/System.Net/pull/66) +- Fix GetDefaultLocalAddress [\#65](https://github.com/nanoframework/System.Net/pull/65) -## [v1.0.2](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.2) (2018-12-15) +## [v1.0.6-preview-005](https://github.com/nanoframework/System.Net/tree/v1.0.6-preview-005) (2019-03-11) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.2-preview-028...v1.0.2) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.6-preview-003...v1.0.6-preview-005) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#56](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/56) +- Bumps nanoFramework.Runtime.Events from 1.0.5-preview-007 to 1.0.5-preview-008 [\#64](https://github.com/nanoframework/System.Net/pull/64) -## [v1.0.2-preview-028](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.2-preview-028) (2018-12-13) +## [v1.0.6-preview-003](https://github.com/nanoframework/System.Net/tree/v1.0.6-preview-003) (2019-03-10) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.2-preview-023...v1.0.2-preview-028) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.5-preview-001...v1.0.6-preview-003) -**Implemented enhancements:** +**Documentation and other chores:** -- Rework SslStream API [\#53](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/53) -- Fix X509Certificate constructors from string [\#52](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/52) +- Bumps nanoFramework.Runtime.Events from 1.0.5-preview-003 to 1.0.5-preview-007 [\#63](https://github.com/nanoframework/System.Net/pull/63) -## [v1.0.2-preview-023](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.2-preview-023) (2018-12-03) +## [v1.0.5-preview-001](https://github.com/nanoframework/System.Net/tree/v1.0.5-preview-001) (2019-03-07) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.2-preview-021...v1.0.2-preview-023) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.3-preview-009...v1.0.5-preview-001) + +## [v1.0.3-preview-009](https://github.com/nanoframework/System.Net/tree/v1.0.3-preview-009) (2019-03-06) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.4...v1.0.3-preview-009) + +**Documentation and other chores:** + +- Bumps nanoFramework.Runtime.Events from 1.0.4 to 1.0.5-preview-003 [\#61](https://github.com/nanoframework/System.Net/pull/61) +- Update 2 NuGet dependencies [\#59](https://github.com/nanoframework/System.Net/pull/59) + +## [v1.0.4](https://github.com/nanoframework/System.Net/tree/v1.0.4) (2019-01-22) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.3-preview-003...v1.0.4) + +## [v1.0.3-preview-003](https://github.com/nanoframework/System.Net/tree/v1.0.3-preview-003) (2019-01-03) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.2...v1.0.3-preview-003) + +**Implemented enhancements:** + +- Add CertificateManager class [\#51](https://github.com/nanoframework/System.Net/pull/51) **Documentation and other chores:** -- Bumps nanoFramework.Runtime.Events from 1.0.2-preview-021 to 1.0.2-preview-023 [\#50](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/50) +- Merge back from Release v1.0.2 [\#58](https://github.com/nanoframework/System.Net/pull/58) +- Update 2 NuGet dependencies [\#56](https://github.com/nanoframework/System.Net/pull/56) -## [v1.0.2-preview-021](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.2-preview-021) (2018-12-02) +## [v1.0.2](https://github.com/nanoframework/System.Net/tree/v1.0.2) (2018-12-15) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.2-preview-013...v1.0.2-preview-021) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.2-preview-028...v1.0.2) + +## [v1.0.2-preview-028](https://github.com/nanoframework/System.Net/tree/v1.0.2-preview-028) (2018-12-13) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.2-preview-023...v1.0.2-preview-028) + +**Implemented enhancements:** + +- Rework SslStream API [\#53](https://github.com/nanoframework/System.Net/pull/53) +- Fix X509Certificate constructors from string [\#52](https://github.com/nanoframework/System.Net/pull/52) + +## [v1.0.2-preview-023](https://github.com/nanoframework/System.Net/tree/v1.0.2-preview-023) (2018-12-03) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.2-preview-021...v1.0.2-preview-023) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#49](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/49) +- Bumps nanoFramework.Runtime.Events from 1.0.2-preview-021 to 1.0.2-preview-023 [\#50](https://github.com/nanoframework/System.Net/pull/50) -## [v1.0.2-preview-013](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.2-preview-013) (2018-11-20) +## [v1.0.2-preview-021](https://github.com/nanoframework/System.Net/tree/v1.0.2-preview-021) (2018-12-02) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.2-preview-001...v1.0.2-preview-013) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.2-preview-013...v1.0.2-preview-021) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#47](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/47) -- Bumps nanoFramework.Runtime.Events from 1.0.0 to 1.0.2-preview-004 [\#45](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/45) +- Update 2 NuGet dependencies [\#49](https://github.com/nanoframework/System.Net/pull/49) + +## [v1.0.2-preview-013](https://github.com/nanoframework/System.Net/tree/v1.0.2-preview-013) (2018-11-20) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.2-preview-001...v1.0.2-preview-013) -## [v1.0.2-preview-001](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.2-preview-001) (2018-11-07) +**Documentation and other chores:** -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/v1.0.0...v1.0.2-preview-001) +- Update 2 NuGet dependencies [\#47](https://github.com/nanoframework/System.Net/pull/47) +- Bumps nanoFramework.Runtime.Events from 1.0.0 to 1.0.2-preview-004 [\#45](https://github.com/nanoframework/System.Net/pull/45) -## [v1.0.0](https://github.com/nanoframework/lib-nanoFramework.System.Net/tree/v1.0.0) (2018-10-17) +## [v1.0.2-preview-001](https://github.com/nanoframework/System.Net/tree/v1.0.2-preview-001) (2018-11-07) -[Full Changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/compare/8fa2d6800a15f8ea79c6ef141cdec7300d2269ac...v1.0.0) +[Full Changelog](https://github.com/nanoframework/System.Net/compare/v1.0.0...v1.0.2-preview-001) **Implemented enhancements:** -- Update snk to match mscorlib [\#18](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/18) -- Work on X509Certificate class [\#13](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/13) -- SSL Update for System.Net [\#9](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/9) -- Work on NetworkInformation [\#3](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/3) -- System.Net updated with NetworkInformation [\#2](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/2) +- Update snk to match mscorlib [\#18](https://github.com/nanoframework/System.Net/pull/18) +- Work on X509Certificate class [\#13](https://github.com/nanoframework/System.Net/pull/13) +- SSL Update for System.Net [\#9](https://github.com/nanoframework/System.Net/pull/9) +- Work on NetworkInformation [\#3](https://github.com/nanoframework/System.Net/pull/3) +- System.Net updated with NetworkInformation [\#2](https://github.com/nanoframework/System.Net/pull/2) **Fixed bugs:** -- Work on NetworkInterface [\#15](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/15) +- Work on NetworkInterface [\#15](https://github.com/nanoframework/System.Net/pull/15) **Documentation and other chores:** -- Update 2 NuGet dependencies [\#38](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/38) -- Update 2 NuGet dependencies [\#34](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/34) -- Update 2 NuGet dependencies [\#32](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/32) -- Update 2 NuGet dependencies [\#31](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/31) -- Bump nanoFramework.Runtime.Events from 1.0.0-preview188 to 1.0.0-preview191 in /source [\#19](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/19) -- Bump nanoFramework.CoreLibrary and nanoFramework.Runtime.Events in /source [\#16](https://github.com/nanoframework/lib-nanoFramework.System.Net/pull/16) +- Update 2 NuGet dependencies [\#34](https://github.com/nanoframework/System.Net/pull/34) +- Update 2 NuGet dependencies [\#32](https://github.com/nanoframework/System.Net/pull/32) +- Update 2 NuGet dependencies [\#31](https://github.com/nanoframework/System.Net/pull/31) +- Bump nanoFramework.Runtime.Events from 1.0.0-preview188 to 1.0.0-preview191 in /source [\#19](https://github.com/nanoframework/System.Net/pull/19) +- Bump nanoFramework.CoreLibrary and nanoFramework.Runtime.Events in /source [\#16](https://github.com/nanoframework/System.Net/pull/16) +- Update Nuget packages [\#1](https://github.com/nanoframework/System.Net/pull/1) + +## [v1.0.0](https://github.com/nanoframework/System.Net/tree/v1.0.0) (2018-10-17) + +[Full Changelog](https://github.com/nanoframework/System.Net/compare/8fa2d6800a15f8ea79c6ef141cdec7300d2269ac...v1.0.0) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 7feff0a..0000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,3 +0,0 @@ -# Contributor Code of Conduct - -Please refer to the contributor Code of Conduct at the Home repository [here](https://github.com/nanoframework/Home/blob/master/CODE_OF_CONDUCT.md. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 5a6a6c1..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,3 +0,0 @@ -# Contributing to **nanoFramework** - -Please refer to the contribution guidelines at the Home repository [here](https://github.com/nanoframework/Home/blob/master/CONTRIBUTING.md). diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 8dada3e..0000000 --- a/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..94286c9 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) .NET Foundation and Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/source/NuGet.Config b/NuGet.Config similarity index 100% rename from source/NuGet.Config rename to NuGet.Config index ef0bacf..0521fe6 100644 --- a/source/NuGet.Config +++ b/NuGet.Config @@ -1,7 +1,7 @@ - + diff --git a/README.md b/README.md index bb5873d..0af5e01 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.System.Net&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.System.Net) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.System.Net&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.System.Net) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/nanoframework/Home/blob/master/LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Net.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Net/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/master/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.System.Net&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.System.Net) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.System.Net&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.System.Net) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Net.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Net/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T) -![nanoFramework logo](https://github.com/nanoframework/Home/blob/master/resources/logo/nanoFramework-repo-logo.png) +![nanoFramework logo](https://github.com/nanoframework/Home/blob/main/resources/logo/nanoFramework-repo-logo.png) ----- @@ -10,8 +10,8 @@ | Component | Build Status | NuGet Package | |:-|---|---| -| System.Net | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.System.Net/_apis/build/status/nanoframework.lib-nanoFramework.System.Net?branchName=develop)](https://dev.azure.com/nanoframework/nanoFramework.System.Net/_build/latest?definitionId=20?branchName=master) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Net.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Net/) | -| System.Net (preview) | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.System.Net/_apis/build/status/nanoframework.lib-nanoFramework.System.Net?branchName=develop)](https://dev.azure.com/nanoframework/nanoFramework.System.Net/_build/latest?definitionId=20?branchName=develop) | [![](https://badgen.net/badge/NuGet/preview/D7B023?icon=https://simpleicons.now.sh/azuredevops/fff)](https://dev.azure.com/nanoframework/feed/_packaging?_a=package&feed=sandbox&package=nanoFramework.System.Net&protocolType=NuGet&view=overview) | +| System.Net | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.System.Net/_apis/build/status/System.Net?repoName=nanoframework%2FSystem.Net&branchName=main)](https://dev.azure.com/nanoframework/nanoFramework.System.Net/_build/latest?definitionId=20&repoName=nanoframework%2FSystem.Net&branchName=main) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Net.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Net/) | +| System.Net (preview) | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.System.Net/_apis/build/status/System.Net?repoName=nanoframework%2FSystem.Net&branchName=develop)](https://dev.azure.com/nanoframework/nanoFramework.System.Net/_build/latest?definitionId=20&repoName=nanoframework%2FSystem.Net&branchName=develop) | [![NuGet](https://img.shields.io/nuget/vpre/nanoFramework.System.Net.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Net/) | ## Feedback and documentation @@ -21,13 +21,17 @@ Join our Discord community [here](https://discord.gg/gCyBu8T). ## Credits -The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/master/CONTRIBUTORS.md). +The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/main/CONTRIBUTORS.md). ## License -The **nanoFramework** Class Libraries are licensed under the [Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0). +The **nanoFramework** Class Libraries are licensed under the [MIT license](LICENSE.md). ## Code of Conduct -This project has adopted the code of conduct defined by the [Contributor Covenant](http://contributor-covenant.org/) -to clarify expected behavior in our community. +This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. +For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct). + +### .NET Foundation + +This project is supported by the [.NET Foundation](https://dotnetfoundation.org). diff --git a/assets/nf-logo.png b/assets/nf-logo.png new file mode 100644 index 0000000..6f576ca Binary files /dev/null and b/assets/nf-logo.png differ diff --git a/source/readme.txt b/assets/readme.txt similarity index 100% rename from source/readme.txt rename to assets/readme.txt diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 18cffa3..cd74804 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,8 +1,8 @@ trigger: branches: - include: [master, develop, "release-*" ] + include: [main, develop, "release-*" ] paths: - exclude: ["*.md", .gitignore] + exclude: [README.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore] tags: include: ["v*"] @@ -23,15 +23,14 @@ jobs: condition: or( eq(variables['UPDATE_DEPENDENTS'], 'false'), eq(variables['StartReleaseCandidate'], 'true') ) pool: - vmImage: 'VS2017-Win2016' + vmImage: 'windows-2019' variables: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - solution: '**/source/*.sln' + DOTNET_NOLOGO: true + solution: '**/*.sln' buildPlatform: 'Any CPU' buildConfiguration: 'Release' nugetPackageName: 'nanoFramework.System.Net' - repoName: 'lib-nanoFramework.System.Net' steps: @@ -49,7 +48,7 @@ jobs: - Build_Library pool: - vmImage: 'VS2017-Win2016' + vmImage: 'windows-2019' variables: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true @@ -58,32 +57,29 @@ jobs: - checkout: none - - task: NuGetToolInstaller@0 - inputs: - versionSpec: '5.4.0' - displayName: 'Install specific version of NuGet' + - template: azure-pipelines-templates/install-nuget.yml@templates # update dependencies - task: UpdatenFDependencies@1 + displayName: Update dependent class libs inputs: gitHubToken: $(GitHubToken) repositoriesToUpdate: | - lib-nanoFramework.System.Net.Http + System.Net.Http paho.mqtt.m2mqtt - amqpnetlite - displayName: Update dependent class libs ################################## # report build failure to Discord - job: Report_Build_Failure + condition: or( failed('Build_Library'), failed('Update_Dependents')) dependsOn: - Build_Library - Update_Dependents - condition: or( failed('Build_Library'), failed('Update_Dependents')) pool: - vmImage: 'VS2017-Win2016' + vmImage: 'windows-2019' + steps: - checkout: self diff --git a/config/SignClient.json b/config/SignClient.json new file mode 100644 index 0000000..482177d --- /dev/null +++ b/config/SignClient.json @@ -0,0 +1,14 @@ +{ + "SignClient": { + "AzureAd": { + "AADInstance": "https://login.microsoftonline.com/", + "ClientId": "c248d68a-ba6f-4aa9-8a68-71fe872063f8", + "TenantId": "16076fdc-fcc1-4a15-b1ca-32c9a255900e" + }, + "Service": { + "Url": "https://codesign.dotnetfoundation.org/", + "ResourceId": "https://SignService/3c30251f-36f3-490b-a955-520addb85001" + } + } + } + \ No newline at end of file diff --git a/config/filelist.txt b/config/filelist.txt new file mode 100644 index 0000000..5fdbd55 --- /dev/null +++ b/config/filelist.txt @@ -0,0 +1 @@ +**/nanoFramework.System.Net.* \ No newline at end of file diff --git a/source/nanoFramework.System.Net.DELIVERABLES.nuspec b/nanoFramework.System.Net.DELIVERABLES.nuspec similarity index 69% rename from source/nanoFramework.System.Net.DELIVERABLES.nuspec rename to nanoFramework.System.Net.DELIVERABLES.nuspec index dc413fa..ed4dff1 100644 --- a/source/nanoFramework.System.Net.DELIVERABLES.nuspec +++ b/nanoFramework.System.Net.DELIVERABLES.nuspec @@ -5,21 +5,23 @@ $version$ nanoFramework.System.Net.DELIVERABLES nanoFramework project contributors - nanoFramework project contributors + nanoFramework project contributors,dotnetfoundation false + LICENSE.md false - https://github.com/nanoframework/lib-nanoFramework.System.Net + https://github.com/nanoframework/System.Net https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad - Copyright (c) 2018 The nanoFramework project contributors - ** DON'T REFERENCE THIS PACKAGE ** Not meant for development. This package includes the deliverable artifacts of the nanoFramework.System.Net assembly for nanoFramework. These are for testing purposes and for updating the native code base of the library. + images\nf-logo.png + Copyright (c) .NET Foundation and Contributors + ** DON'T REFERENCE THIS PACKAGE ** Not meant for development. This package includes the deliverable artifacts of the System.Net assembly for .NET nanoFramework. These are for testing purposes and for updating the native code base of the library. nanoFramework.System.Net.DELIVERABLES is not meant for development. - - + + @@ -29,5 +31,6 @@ + \ No newline at end of file diff --git a/source/nanoFramework.System.Net.nuspec b/nanoFramework.System.Net.nuspec similarity index 54% rename from source/nanoFramework.System.Net.nuspec rename to nanoFramework.System.Net.nuspec index 1a800c4..7096579 100644 --- a/source/nanoFramework.System.Net.nuspec +++ b/nanoFramework.System.Net.nuspec @@ -5,24 +5,23 @@ $version$ nanoFramework.System.Net nanoFramework project contributors - nanoFramework project contributors + nanoFramework project contributors,dotnetfoundation false - Apache-2.0 + LICENSE.md false - https://github.com/nanoframework/lib-nanoFramework.System.Net - https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad - - Copyright (c) 2018 The nanoFramework project contributors - This package includes the nanoFramework..System.Net assembly for nanoFramework C# projects. -This package requires a target with nanoFramework..System.Net v$nativeVersion$. - nanoFramework.System.Net assembly for nanoFramework C# projects + https://github.com/nanoframework/System.Net + images\nf-logo.png + + Copyright (c) .NET Foundation and Contributors + This package includes the .NET nanoFramework System.Net assembly for .NET nanoFramework C# projects. +This package requires a target with System.Net v$nativeVersion$ (checksum $checksum$). nanoFramework C# csharp netmf netnf nanoFramework.System.Net - - - + + + @@ -31,7 +30,8 @@ This package requires a target with nanoFramework..System.Net v$nativeVersion$.< - - + + + \ No newline at end of file diff --git a/source/nanoFramework.System.Net.sln b/nanoFramework.System.Net.sln similarity index 99% rename from source/nanoFramework.System.Net.sln rename to nanoFramework.System.Net.sln index a5acb39..2df9258 100644 --- a/source/nanoFramework.System.Net.sln +++ b/nanoFramework.System.Net.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.27703.2047 diff --git a/source/nanoFramework.System.Net/DNS.cs b/nanoFramework.System.Net/DNS.cs similarity index 96% rename from source/nanoFramework.System.Net/DNS.cs rename to nanoFramework.System.Net/DNS.cs index b5f8d10..f1dfc05 100644 --- a/source/nanoFramework.System.Net/DNS.cs +++ b/nanoFramework.System.Net/DNS.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/EndPoint.cs b/nanoFramework.System.Net/EndPoint.cs similarity index 95% rename from source/nanoFramework.System.Net/EndPoint.cs rename to nanoFramework.System.Net/EndPoint.cs index 4675733..ab58fa1 100644 --- a/source/nanoFramework.System.Net/EndPoint.cs +++ b/nanoFramework.System.Net/EndPoint.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/IPAddress.cs b/nanoFramework.System.Net/IPAddress.cs similarity index 73% rename from source/nanoFramework.System.Net/IPAddress.cs rename to nanoFramework.System.Net/IPAddress.cs index de65da8..c65df3d 100644 --- a/source/nanoFramework.System.Net/IPAddress.cs +++ b/nanoFramework.System.Net/IPAddress.cs @@ -1,11 +1,12 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // using System.Net.NetworkInformation; using System.Net.Sockets; +using System.Runtime.CompilerServices; namespace System.Net { @@ -26,8 +27,7 @@ public class IPAddress /// public static readonly IPAddress Loopback = new IPAddress(0x000000000100007F); - [Diagnostics.DebuggerBrowsable(Diagnostics.DebuggerBrowsableState.Never)] - internal long _address; + internal long Address; [Diagnostics.DebuggerBrowsable(Diagnostics.DebuggerBrowsableState.Never)] private AddressFamily _family = AddressFamily.InterNetwork; @@ -63,7 +63,7 @@ public IPAddress(long newAddress) throw new ArgumentOutOfRangeException(); } - _address = newAddress; + Address = newAddress; // default to InterNetwork _family = AddressFamily.InterNetwork; @@ -79,7 +79,7 @@ public IPAddress(byte[] address) { _family = AddressFamily.InterNetwork; // need to offset address by 4 (1st are family, 2nd are port - _address = ((address[3 + 4] << 24 | address[2 + 4] << 16 | address[1 + 4] << 8 | address[0 + 4]) & 0x0FFFFFFFF); + Address = ((address[3 + 4] << 24 | address[2 + 4] << 16 | address[1 + 4] << 8 | address[0 + 4]) & 0x0FFFFFFFF); } else if (address[0] == (byte)AddressFamily.InterNetworkV6) { @@ -108,7 +108,7 @@ public override bool Equals(object obj) if (obj == null) return false; - return this._address == addr._address; + return this.Address == addr.Address; } /// @@ -119,10 +119,10 @@ public byte[] GetAddressBytes() { return new byte[] { - (byte)(_address), - (byte)(_address >> 8), - (byte)(_address >> 16), - (byte)(_address >> 24) + (byte)(Address), + (byte)(Address >> 8), + (byte)(Address >> 16), + (byte)(Address >> 24) }; } @@ -134,38 +134,7 @@ public byte[] GetAddressBytes() /// public static IPAddress Parse(string ipString) { - if (ipString == null) - throw new ArgumentNullException(); - - ulong ipAddress = 0L; - int lastIndex = 0; - int shiftIndex = 0; - ulong mask = 0x00000000000000FF; - ulong octet = 0L; - int length = ipString.Length; - - for (int i = 0; i < length; ++i) - { - // Parse to '.' or end of IP address - if (ipString[i] == '.' || i == length - 1) - // If the IP starts with a '.' - // or a segment is longer than 3 characters or shiftIndex > last bit position throw. - if (i == 0 || i - lastIndex > 3 || shiftIndex > 24) - { - throw new ArgumentException(); - } - else - { - i = i == length - 1 ? ++i : i; - octet = ulong.Parse(ipString.Substring(lastIndex, i - lastIndex)) & 0x00000000000000FF; - ipAddress = ipAddress + ((octet << shiftIndex) & mask); - lastIndex = i + 1; - shiftIndex = shiftIndex + 8; - mask = (mask << 8); - } - } - - return new IPAddress((long)ipAddress); + return new IPAddress(NetworkInterface.IPAddressFromString(ipString)); } /// @@ -180,13 +149,7 @@ public static IPAddress Parse(string ipString) /// public override string ToString() { - return ((byte)(_address)).ToString() + - "." + - ((byte)(_address >> 8)).ToString() + - "." + - ((byte)(_address >> 16)).ToString() + - "." + - ((byte)(_address >> 24)).ToString(); + return IPv4ToString((uint)Address); } /// @@ -223,7 +186,7 @@ internal IPAddress Snapshot() switch (_family) { case AddressFamily.InterNetwork: - return new IPAddress(_address); + return new IPAddress(Address); //case AddressFamily.InterNetworkV6: // return new IPAddress(m_Numbers, (uint)m_ScopeId); @@ -231,5 +194,12 @@ internal IPAddress Snapshot() throw new NotSupportedException(); } + + #region native methods + + [MethodImpl(MethodImplOptions.InternalCall)] + internal static extern string IPv4ToString(uint ipv4Address); + + #endregion } } diff --git a/source/nanoFramework.System.Net/IPEndPoint.cs b/nanoFramework.System.Net/IPEndPoint.cs similarity index 94% rename from source/nanoFramework.System.Net/IPEndPoint.cs rename to nanoFramework.System.Net/IPEndPoint.cs index 9e74506..1b57252 100644 --- a/source/nanoFramework.System.Net/IPEndPoint.cs +++ b/nanoFramework.System.Net/IPEndPoint.cs @@ -1,6 +1,6 @@ // namespace System.Net // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // @@ -105,10 +105,10 @@ public override SocketAddress Serialize() buffer[2] = unchecked((byte)(_port >> 8)); buffer[3] = unchecked((byte)(_port)); - buffer[4] = unchecked((byte)(_address._address)); - buffer[5] = unchecked((byte)(_address._address >> 8)); - buffer[6] = unchecked((byte)(_address._address >> 16)); - buffer[7] = unchecked((byte)(_address._address >> 24)); + buffer[4] = unchecked((byte)(_address.Address)); + buffer[5] = unchecked((byte)(_address.Address >> 8)); + buffer[6] = unchecked((byte)(_address.Address >> 16)); + buffer[7] = unchecked((byte)(_address.Address >> 24)); return socketAddress; } diff --git a/source/nanoFramework.System.Net/IPHostEntry.cs b/nanoFramework.System.Net/IPHostEntry.cs similarity index 96% rename from source/nanoFramework.System.Net/IPHostEntry.cs rename to nanoFramework.System.Net/IPHostEntry.cs index fc6b7e6..efc1765 100644 --- a/source/nanoFramework.System.Net/IPHostEntry.cs +++ b/nanoFramework.System.Net/IPHostEntry.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/NetworkInformation/AddressMode.cs b/nanoFramework.System.Net/NetworkInformation/AddressMode.cs similarity index 94% rename from source/nanoFramework.System.Net/NetworkInformation/AddressMode.cs rename to nanoFramework.System.Net/NetworkInformation/AddressMode.cs index c3b5a39..5fb7445 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/AddressMode.cs +++ b/nanoFramework.System.Net/NetworkInformation/AddressMode.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/NetworkInformation/AuthenticationType.cs b/nanoFramework.System.Net/NetworkInformation/AuthenticationType.cs similarity index 95% rename from source/nanoFramework.System.Net/NetworkInformation/AuthenticationType.cs rename to nanoFramework.System.Net/NetworkInformation/AuthenticationType.cs index 3b606c4..e552a3a 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/AuthenticationType.cs +++ b/nanoFramework.System.Net/NetworkInformation/AuthenticationType.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2019 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // See LICENSE file in the project root for full license information. namespace System.Net.NetworkInformation diff --git a/source/nanoFramework.System.Net/NetworkInformation/EncryptionType.cs b/nanoFramework.System.Net/NetworkInformation/EncryptionType.cs similarity index 94% rename from source/nanoFramework.System.Net/NetworkInformation/EncryptionType.cs rename to nanoFramework.System.Net/NetworkInformation/EncryptionType.cs index 28b650c..7d365f0 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/EncryptionType.cs +++ b/nanoFramework.System.Net/NetworkInformation/EncryptionType.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2019 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // See LICENSE file in the project root for full license information. namespace System.Net.NetworkInformation diff --git a/nanoFramework.System.Net/NetworkInformation/IPGlobalProperties.cs b/nanoFramework.System.Net/NetworkInformation/IPGlobalProperties.cs new file mode 100644 index 0000000..2ad328d --- /dev/null +++ b/nanoFramework.System.Net/NetworkInformation/IPGlobalProperties.cs @@ -0,0 +1,25 @@ +// +// Copyright (c) .NET Foundation and Contributors +// See LICENSE file in the project root for full license information. +// + +using System.Runtime.CompilerServices; + +namespace System.Net.NetworkInformation +{ + /// + /// Provides information about the network connectivity of the local computer. + /// + public static class IPGlobalProperties + { + /// + /// Gets the IP address of the network interface. + /// + /// An if a valid IP address is available; otherwise, an . + /// + /// This method is exclusive of .NET nanoFramework. + /// + [MethodImpl(MethodImplOptions.InternalCall)] + public extern static IPAddress GetIPAddress(); + } +} diff --git a/source/nanoFramework.System.Net/NetworkInformation/NetworkChange.cs b/nanoFramework.System.Net/NetworkInformation/NetworkChange.cs similarity index 99% rename from source/nanoFramework.System.Net/NetworkInformation/NetworkChange.cs rename to nanoFramework.System.Net/NetworkInformation/NetworkChange.cs index 158e628..c8599f1 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/NetworkChange.cs +++ b/nanoFramework.System.Net/NetworkInformation/NetworkChange.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/NetworkInformation/NetworkInformationOptions.cs b/nanoFramework.System.Net/NetworkInformation/NetworkInformationOptions.cs similarity index 94% rename from source/nanoFramework.System.Net/NetworkInformation/NetworkInformationOptions.cs rename to nanoFramework.System.Net/NetworkInformation/NetworkInformationOptions.cs index 64d3a40..5d67373 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/NetworkInformationOptions.cs +++ b/nanoFramework.System.Net/NetworkInformation/NetworkInformationOptions.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/NetworkInformation/NetworkInterface.cs b/nanoFramework.System.Net/NetworkInformation/NetworkInterface.cs similarity index 89% rename from source/nanoFramework.System.Net/NetworkInformation/NetworkInterface.cs rename to nanoFramework.System.Net/NetworkInformation/NetworkInterface.cs index e0e597a..7b93c37 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/NetworkInterface.cs +++ b/nanoFramework.System.Net/NetworkInformation/NetworkInterface.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // @@ -22,12 +22,12 @@ public class NetworkInterface [Flags] internal enum UpdateOperation : byte { - Invalid = 0x00, - Dns = 0x01, - Dhcp = 0x02, - DhcpRenew = 0x04, - DhcpRelease = 0x08, - Mac = 0x10, + Invalid = 0x00, + Dns = 0x01, + Dhcp = 0x02, + DhcpRenew = 0x04, + DhcpRelease = 0x08, + Mac = 0x10, } private readonly int _interfaceIndex; @@ -53,6 +53,18 @@ internal enum UpdateOperation : byte private NetworkInterfaceType _networkInterfaceType; + /// + /// Indicates whether any network connection is available. + /// + /// + /// if a network connection is available; otherwise, . + /// + /// + /// A network connection is considered to be available if any network interface is marked "up" and is not a loopback or tunnel interface. + /// + [MethodImpl(MethodImplOptions.InternalCall)] + public extern static bool GetIsNetworkAvailable(); + /// /// Initializes a new instance of the class. /// @@ -89,19 +101,6 @@ public static NetworkInterface[] GetAllNetworkInterfaces() return ifaces; } - private string IPv4AddressToString(uint ipv4Address) - { - return string.Concat( - ((ipv4Address >> 0) & 0xFF).ToString(), - ".", - ((ipv4Address >> 8) & 0xFF).ToString(), - ".", - ((ipv4Address >> 16) & 0xFF).ToString(), - ".", - ((ipv4Address >> 24) & 0xFF).ToString() - ); - } - private string IPv6AddressToString(uint[] ipv6Address) { throw new NotImplementedException(); @@ -127,9 +126,9 @@ public void EnableStaticIPv4(string ipv4Address, string ipv4SubnetMask, string i { try { - _ipv4Address = IPAddressFromString(ipv4Address); - _ipv4NetMask = IPAddressFromString(ipv4SubnetMask); - _ipv4GatewayAddress = IPAddressFromString(ipv4GatewayAddress); + _ipv4Address = (uint)IPAddressFromString(ipv4Address); + _ipv4NetMask = (uint)IPAddressFromString(ipv4SubnetMask); + _ipv4GatewayAddress = (uint)IPAddressFromString(ipv4GatewayAddress); _startupAddressMode = AddressMode.Static; UpdateConfiguration((int)UpdateOperation.Dhcp); @@ -183,9 +182,9 @@ public void EnableStaticIP(string ipv4Address, string ipv4subnetMask, string ipv { throw new NotImplementedException(); - _ipv4Address = IPAddressFromString(ipv4Address); - _ipv4NetMask = IPAddressFromString(ipv4subnetMask); - _ipv4GatewayAddress = IPAddressFromString(ipv4gatewayAddress); + _ipv4Address = (uint)IPAddressFromString(ipv4Address); + _ipv4NetMask = (uint)IPAddressFromString(ipv4subnetMask); + _ipv4GatewayAddress = (uint)IPAddressFromString(ipv4gatewayAddress); // FIXME // need to test this @@ -235,7 +234,7 @@ public void EnableStaticIPv4Dns(string[] dnsAddresses) int iAddress = 0; for (int i = 0; i < dnsAddresses.Length; i++) { - uint address = IPAddressFromString(dnsAddresses[i]); + uint address = (uint)IPAddressFromString(dnsAddresses[i]); addresses[iAddress] = address; @@ -344,7 +343,7 @@ public bool IsAutomaticDnsEnabled /// public string IPv4Address { - get { return IPv4AddressToString(_ipv4Address); } + get { return IPAddress.IPv4ToString(_ipv4Address); } } /// @@ -352,7 +351,7 @@ public string IPv4Address /// public string IPv4GatewayAddress { - get { return IPv4AddressToString(_ipv4GatewayAddress); } + get { return IPAddress.IPv4ToString(_ipv4GatewayAddress); } } /// @@ -360,7 +359,7 @@ public string IPv4GatewayAddress /// public string IPv4SubnetMask { - get { return IPv4AddressToString(_ipv4NetMask); } + get { return IPAddress.IPv4ToString(_ipv4NetMask); } } /// @@ -383,12 +382,12 @@ public string[] IPv4DnsAddresses if (_ipv4dnsAddress1 != 0) { - list.Add(IPv4AddressToString(_ipv4dnsAddress1)); + list.Add(IPAddress.IPv4ToString(_ipv4dnsAddress1)); } if (_ipv4dnsAddress2 != 0) { - list.Add(IPv4AddressToString(_ipv4dnsAddress2)); + list.Add(IPAddress.IPv4ToString(_ipv4dnsAddress2)); } return (string[])list.ToArray(typeof(string)); @@ -482,7 +481,7 @@ public NetworkInterfaceType NetworkInterfaceType private extern void UpdateConfiguration(int updateType); [MethodImpl(MethodImplOptions.InternalCall)] - private static extern uint IPAddressFromString(string ipAddress); + internal static extern long IPAddressFromString(string ipAddress); #endregion } diff --git a/source/nanoFramework.System.Net/NetworkInformation/NetworkInterfaceType.cs b/nanoFramework.System.Net/NetworkInformation/NetworkInterfaceType.cs similarity index 95% rename from source/nanoFramework.System.Net/NetworkInformation/NetworkInterfaceType.cs rename to nanoFramework.System.Net/NetworkInformation/NetworkInterfaceType.cs index f37c819..958abcd 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/NetworkInterfaceType.cs +++ b/nanoFramework.System.Net/NetworkInformation/NetworkInterfaceType.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/NetworkInformation/RadioType.cs b/nanoFramework.System.Net/NetworkInformation/RadioType.cs similarity index 92% rename from source/nanoFramework.System.Net/NetworkInformation/RadioType.cs rename to nanoFramework.System.Net/NetworkInformation/RadioType.cs index df535d2..7badef6 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/RadioType.cs +++ b/nanoFramework.System.Net/NetworkInformation/RadioType.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2019 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // See LICENSE file in the project root for full license information. namespace System.Net.NetworkInformation diff --git a/source/nanoFramework.System.Net/NetworkInformation/Wireless80211Configuration.cs b/nanoFramework.System.Net/NetworkInformation/Wireless80211Configuration.cs similarity index 99% rename from source/nanoFramework.System.Net/NetworkInformation/Wireless80211Configuration.cs rename to nanoFramework.System.Net/NetworkInformation/Wireless80211Configuration.cs index be5697e..e4f502e 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/Wireless80211Configuration.cs +++ b/nanoFramework.System.Net/NetworkInformation/Wireless80211Configuration.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2019 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/NetworkInformation/WirelessAPConfiguration.cs b/nanoFramework.System.Net/NetworkInformation/WirelessAPConfiguration.cs similarity index 99% rename from source/nanoFramework.System.Net/NetworkInformation/WirelessAPConfiguration.cs rename to nanoFramework.System.Net/NetworkInformation/WirelessAPConfiguration.cs index 873eef3..92f381c 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/WirelessAPConfiguration.cs +++ b/nanoFramework.System.Net/NetworkInformation/WirelessAPConfiguration.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2019 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/NetworkInformation/WirelessAPStation.cs b/nanoFramework.System.Net/NetworkInformation/WirelessAPStation.cs similarity index 97% rename from source/nanoFramework.System.Net/NetworkInformation/WirelessAPStation.cs rename to nanoFramework.System.Net/NetworkInformation/WirelessAPStation.cs index f0dd018..87694a3 100644 --- a/source/nanoFramework.System.Net/NetworkInformation/WirelessAPStation.cs +++ b/nanoFramework.System.Net/NetworkInformation/WirelessAPStation.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Properties/AssemblyInfo.cs b/nanoFramework.System.Net/Properties/AssemblyInfo.cs similarity index 87% rename from source/nanoFramework.System.Net/Properties/AssemblyInfo.cs rename to nanoFramework.System.Net/Properties/AssemblyInfo.cs index 9fccb46..fc22ed0 100644 --- a/source/nanoFramework.System.Net/Properties/AssemblyInfo.cs +++ b/nanoFramework.System.Net/Properties/AssemblyInfo.cs @@ -8,11 +8,11 @@ [assembly: AssemblyTitle("System.Net")] [assembly: AssemblyCompany("nanoFramework Contributors")] [assembly: AssemblyProduct("System.Net")] -[assembly: AssemblyCopyright("Copyright © nanoFramework Contributors 2019")] +[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")] //////////////////////////////////////////////////////////////// // update this whenever the native assembly signature changes // -[assembly: AssemblyNativeVersion("100.1.3.1")] +[assembly: AssemblyNativeVersion("100.1.3.4")] //////////////////////////////////////////////////////////////// // Setting ComVisible to false makes the types in this assembly not visible diff --git a/source/nanoFramework.System.Net/README.txt b/nanoFramework.System.Net/README.txt similarity index 100% rename from source/nanoFramework.System.Net/README.txt rename to nanoFramework.System.Net/README.txt diff --git a/source/nanoFramework.System.Net/Security/CertificateManager.cs b/nanoFramework.System.Net/Security/CertificateManager.cs similarity index 98% rename from source/nanoFramework.System.Net/Security/CertificateManager.cs rename to nanoFramework.System.Net/Security/CertificateManager.cs index 90c9569..c82707f 100644 --- a/source/nanoFramework.System.Net/Security/CertificateManager.cs +++ b/nanoFramework.System.Net/Security/CertificateManager.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Security/NetworkSecurity.cs b/nanoFramework.System.Net/Security/NetworkSecurity.cs similarity index 88% rename from source/nanoFramework.System.Net/Security/NetworkSecurity.cs rename to nanoFramework.System.Net/Security/NetworkSecurity.cs index 054ae6f..28d84fc 100644 --- a/source/nanoFramework.System.Net/Security/NetworkSecurity.cs +++ b/nanoFramework.System.Net/Security/NetworkSecurity.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // @@ -70,10 +70,20 @@ public enum SslVerification internal static class SslNative { [MethodImplAttribute(MethodImplOptions.InternalCall)] - internal static extern int SecureServerInit(int sslProtocols, int sslCertVerify, X509Certificate certificate, X509Certificate ca); + internal static extern int SecureServerInit( + int sslProtocols, + int sslCertVerify, + X509Certificate certificate, + X509Certificate ca, + bool useDeviceCertificate); [MethodImplAttribute(MethodImplOptions.InternalCall)] - internal static extern int SecureClientInit(int sslProtocols, int sslCertVerify, X509Certificate certificate, X509Certificate ca); + internal static extern int SecureClientInit( + int sslProtocols, + int sslCertVerify, + X509Certificate certificate, + X509Certificate ca, + bool useDeviceCertificate); [MethodImplAttribute(MethodImplOptions.InternalCall)] internal static extern void SecureAccept(int contextHandle, object socket); diff --git a/source/nanoFramework.System.Net/Security/SslStream.cs b/nanoFramework.System.Net/Security/SslStream.cs similarity index 83% rename from source/nanoFramework.System.Net/Security/SslStream.cs rename to nanoFramework.System.Net/Security/SslStream.cs index 23aee04..b14b91d 100644 --- a/source/nanoFramework.System.Net/Security/SslStream.cs +++ b/nanoFramework.System.Net/Security/SslStream.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // @@ -18,6 +18,7 @@ namespace System.Net.Security public class SslStream : NetworkStream { private SslVerification _sslVerification; + private bool _useStoredDeviceCertificate = false; // Internal flags private int _sslContext; @@ -29,6 +30,16 @@ public class SslStream : NetworkStream /// public SslVerification SslVerification { get => _sslVerification; set => _sslVerification = value; } + /// + /// Option to use the certificate stored in the device as client or server certificate. + /// The default option is . + /// + /// + /// This property is exclusive of .NET nanoFramework. + /// In case there is no device certificate stored, the authentication will use whatever is provided (or not) in the parameter of the method being called. + /// + public bool UseStoredDeviceCertificate { get => _useStoredDeviceCertificate; set => _useStoredDeviceCertificate = value; } + //--// /// @@ -71,6 +82,9 @@ public void AuthenticateAsClient(string targetHost, SslProtocols enabledSslProto /// The name of the server that will share this SslStream. /// The client certificate. /// The value that represents the protocol used for authentication. + /// + /// Instead of providing the client certificate in the parameter the property can be used to use the certificate stored in the device. + /// public void AuthenticateAsClient(string targetHost, X509Certificate clientCertificate, SslProtocols enabledSslProtocols) { Authenticate(false, targetHost, clientCertificate, null, enabledSslProtocols); @@ -84,6 +98,9 @@ public void AuthenticateAsClient(string targetHost, X509Certificate clientCertif /// The client certificate. /// Certificate Authority certificate to use for authentication with the server. /// The value that represents the protocol used for authentication. + /// + /// Instead of providing the client certificate in the parameter the property can be used to use the certificate stored in the device. + /// public void AuthenticateAsClient(string targetHost, X509Certificate clientCertificate, X509Certificate ca, SslProtocols enabledSslProtocols) { Authenticate(false, targetHost, clientCertificate, ca, enabledSslProtocols); @@ -95,6 +112,9 @@ public void AuthenticateAsClient(string targetHost, X509Certificate clientCertif /// /// The certificate used to authenticate the server. /// The protocols that may be used for authentication. + /// + /// Instead of providing the server certificate in the parameter the property can be used to use the certificate stored in the device. + /// public void AuthenticateAsServer(X509Certificate serverCertificate, SslProtocols enabledSslProtocols) { Authenticate(true, "", serverCertificate, null, enabledSslProtocols); @@ -106,6 +126,9 @@ public void AuthenticateAsServer(X509Certificate serverCertificate, SslProtocols /// The X509Certificate used to authenticate the server. /// A value that specifies whether the client is asked for a certificate for authentication. Note that this is only a request, if no certificate is provided, the server still accepts the connection request. /// The protocols that may be used for authentication. + /// + /// Instead of providing the server certificate in the parameter the property can be used to use the certificate stored in the device. + /// public void AuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired, SslProtocols enabledSslProtocols) { SslVerification = clientCertificateRequired ? SslVerification.VerifyClientOnce : SslVerification.NoVerification; @@ -123,12 +146,24 @@ internal void Authenticate(bool isServer, string targetHost, X509Certificate cer { if (isServer) { - _sslContext = SslNative.SecureServerInit((int)enabledSslProtocols, (int)_sslVerification, certificate, ca); + _sslContext = SslNative.SecureServerInit( + (int)enabledSslProtocols, + (int)_sslVerification, + certificate, + ca, + _useStoredDeviceCertificate); + SslNative.SecureAccept(_sslContext, _socket); } else { - _sslContext = SslNative.SecureClientInit((int)enabledSslProtocols, (int)_sslVerification, certificate, ca); + _sslContext = SslNative.SecureClientInit( + (int)enabledSslProtocols, + (int)_sslVerification, + certificate, + ca, + _useStoredDeviceCertificate); + SslNative.SecureConnect(_sslContext, targetHost, _socket); } } diff --git a/source/nanoFramework.System.Net/SocketAddress.cs b/nanoFramework.System.Net/SocketAddress.cs similarity index 94% rename from source/nanoFramework.System.Net/SocketAddress.cs rename to nanoFramework.System.Net/SocketAddress.cs index 0ca7e13..ac79d94 100644 --- a/source/nanoFramework.System.Net/SocketAddress.cs +++ b/nanoFramework.System.Net/SocketAddress.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // @@ -73,10 +73,10 @@ internal SocketAddress(IPAddress ipAddress) //else { // IPv4 Address serialization - m_Buffer[4] = unchecked((byte)(ipAddress._address)); - m_Buffer[5] = unchecked((byte)(ipAddress._address >> 8)); - m_Buffer[6] = unchecked((byte)(ipAddress._address >> 16)); - m_Buffer[7] = unchecked((byte)(ipAddress._address >> 24)); + m_Buffer[4] = unchecked((byte)(ipAddress.Address)); + m_Buffer[5] = unchecked((byte)(ipAddress.Address >> 8)); + m_Buffer[6] = unchecked((byte)(ipAddress.Address >> 16)); + m_Buffer[7] = unchecked((byte)(ipAddress.Address >> 24)); } } diff --git a/source/nanoFramework.System.Net/SocketException.cs b/nanoFramework.System.Net/SocketException.cs similarity index 95% rename from source/nanoFramework.System.Net/SocketException.cs rename to nanoFramework.System.Net/SocketException.cs index 8161863..048f3da 100644 --- a/source/nanoFramework.System.Net/SocketException.cs +++ b/nanoFramework.System.Net/SocketException.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Sockets/AddressFamily.cs b/nanoFramework.System.Net/Sockets/AddressFamily.cs similarity index 98% rename from source/nanoFramework.System.Net/Sockets/AddressFamily.cs rename to nanoFramework.System.Net/Sockets/AddressFamily.cs index dd2eee4..3cd2ba9 100644 --- a/source/nanoFramework.System.Net/Sockets/AddressFamily.cs +++ b/nanoFramework.System.Net/Sockets/AddressFamily.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Sockets/NetworkStream.cs b/nanoFramework.System.Net/Sockets/NetworkStream.cs similarity index 100% rename from source/nanoFramework.System.Net/Sockets/NetworkStream.cs rename to nanoFramework.System.Net/Sockets/NetworkStream.cs diff --git a/source/nanoFramework.System.Net/Sockets/ProtocolFamily.cs b/nanoFramework.System.Net/Sockets/ProtocolFamily.cs similarity index 98% rename from source/nanoFramework.System.Net/Sockets/ProtocolFamily.cs rename to nanoFramework.System.Net/Sockets/ProtocolFamily.cs index dc525f0..a8f3ddc 100644 --- a/source/nanoFramework.System.Net/Sockets/ProtocolFamily.cs +++ b/nanoFramework.System.Net/Sockets/ProtocolFamily.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Sockets/ProtocolType.cs b/nanoFramework.System.Net/Sockets/ProtocolType.cs similarity index 98% rename from source/nanoFramework.System.Net/Sockets/ProtocolType.cs rename to nanoFramework.System.Net/Sockets/ProtocolType.cs index ace0780..8e28197 100644 --- a/source/nanoFramework.System.Net/Sockets/ProtocolType.cs +++ b/nanoFramework.System.Net/Sockets/ProtocolType.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Sockets/SelectMode.cs b/nanoFramework.System.Net/Sockets/SelectMode.cs similarity index 91% rename from source/nanoFramework.System.Net/Sockets/SelectMode.cs rename to nanoFramework.System.Net/Sockets/SelectMode.cs index 16c6de3..7157c9e 100644 --- a/source/nanoFramework.System.Net/Sockets/SelectMode.cs +++ b/nanoFramework.System.Net/Sockets/SelectMode.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Sockets/Socket.cs b/nanoFramework.System.Net/Sockets/Socket.cs similarity index 99% rename from source/nanoFramework.System.Net/Sockets/Socket.cs rename to nanoFramework.System.Net/Sockets/Socket.cs index 1534dc6..0a01a91 100644 --- a/source/nanoFramework.System.Net/Sockets/Socket.cs +++ b/nanoFramework.System.Net/Sockets/Socket.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // @@ -34,7 +34,7 @@ public class Socket : IDisposable // socket type [Diagnostics.DebuggerBrowsable(Diagnostics.DebuggerBrowsableState.Never)] - private SocketType _socketType; + private SocketType _socketType = SocketType.Unknown; // Our internal state doesn't automatically get updated after a non-blocking connect // completes. Keep track of whether we're doing a non-blocking connect, and make sure @@ -344,7 +344,7 @@ public void Connect(EndPoint remoteEP) EndPoint endPointSnapshot = remoteEP; Snapshot(ref endPointSnapshot); - if(m_fBlocking) + if (m_fBlocking) { // blocking connect _nonBlockingConnectInProgress = false; @@ -355,7 +355,7 @@ public void Connect(EndPoint remoteEP) _nonBlockingConnectInProgress = true; _nonBlockingConnectRightEndPoint = endPointSnapshot; } - + NativeSocket.connect(this, endPointSnapshot, !m_fBlocking); if (m_fBlocking) diff --git a/source/nanoFramework.System.Net/Sockets/SocketErrors.cs b/nanoFramework.System.Net/Sockets/SocketErrors.cs similarity index 99% rename from source/nanoFramework.System.Net/Sockets/SocketErrors.cs rename to nanoFramework.System.Net/Sockets/SocketErrors.cs index 29e6ae8..c1532bf 100644 --- a/source/nanoFramework.System.Net/Sockets/SocketErrors.cs +++ b/nanoFramework.System.Net/Sockets/SocketErrors.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Sockets/SocketFlags.cs b/nanoFramework.System.Net/Sockets/SocketFlags.cs similarity index 96% rename from source/nanoFramework.System.Net/Sockets/SocketFlags.cs rename to nanoFramework.System.Net/Sockets/SocketFlags.cs index d61f9ab..7a3ef5c 100644 --- a/source/nanoFramework.System.Net/Sockets/SocketFlags.cs +++ b/nanoFramework.System.Net/Sockets/SocketFlags.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Sockets/SocketOptionLevel.cs b/nanoFramework.System.Net/Sockets/SocketOptionLevel.cs similarity index 94% rename from source/nanoFramework.System.Net/Sockets/SocketOptionLevel.cs rename to nanoFramework.System.Net/Sockets/SocketOptionLevel.cs index 22c5c21..c59ce23 100644 --- a/source/nanoFramework.System.Net/Sockets/SocketOptionLevel.cs +++ b/nanoFramework.System.Net/Sockets/SocketOptionLevel.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Sockets/SocketOptionName.cs b/nanoFramework.System.Net/Sockets/SocketOptionName.cs similarity index 99% rename from source/nanoFramework.System.Net/Sockets/SocketOptionName.cs rename to nanoFramework.System.Net/Sockets/SocketOptionName.cs index e1ebfb4..5ae3674 100644 --- a/source/nanoFramework.System.Net/Sockets/SocketOptionName.cs +++ b/nanoFramework.System.Net/Sockets/SocketOptionName.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Sockets/SocketType.cs b/nanoFramework.System.Net/Sockets/SocketType.cs similarity index 98% rename from source/nanoFramework.System.Net/Sockets/SocketType.cs rename to nanoFramework.System.Net/Sockets/SocketType.cs index 3d91a5c..0a75974 100644 --- a/source/nanoFramework.System.Net/Sockets/SocketType.cs +++ b/nanoFramework.System.Net/Sockets/SocketType.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/Sockets/SocketsNative.cs b/nanoFramework.System.Net/Sockets/SocketsNative.cs similarity index 100% rename from source/nanoFramework.System.Net/Sockets/SocketsNative.cs rename to nanoFramework.System.Net/Sockets/SocketsNative.cs diff --git a/source/nanoFramework.System.Net/System.Net.nfproj b/nanoFramework.System.Net/System.Net.nfproj similarity index 69% rename from source/nanoFramework.System.Net/System.Net.nfproj rename to nanoFramework.System.Net/System.Net.nfproj index f09273e..1bdb6cf 100644 --- a/source/nanoFramework.System.Net/System.Net.nfproj +++ b/nanoFramework.System.Net/System.Net.nfproj @@ -32,20 +32,60 @@ bin\$(Configuration)\Stubs sys_net_native System.Net + ..\.sonarlint\nanoframework_lib-nanoframework.system.netcsharp.ruleset false + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + - + false - + false - + false @@ -57,6 +97,7 @@ + @@ -93,19 +134,20 @@ + - - ..\packages\nanoFramework.CoreLibrary.1.7.3\lib\mscorlib.dll + + ..\packages\nanoFramework.CoreLibrary.1.10.5\lib\mscorlib.dll True - - ..\packages\nanoFramework.Runtime.Events.1.8.0\lib\nanoFramework.Runtime.Events.dll + + ..\packages\nanoFramework.Runtime.Events.1.9.1\lib\nanoFramework.Runtime.Events.dll True - - ..\packages\nanoFramework.System.Text.1.1.0\lib\nanoFramework.System.Text.dll + + ..\packages\nanoFramework.System.Text.1.1.1\lib\nanoFramework.System.Text.dll True diff --git a/source/nanoFramework.System.Net/X509Certificates/X509Certificate.cs b/nanoFramework.System.Net/X509Certificates/X509Certificate.cs similarity index 99% rename from source/nanoFramework.System.Net/X509Certificates/X509Certificate.cs rename to nanoFramework.System.Net/X509Certificates/X509Certificate.cs index b6da0b3..9776f94 100644 --- a/source/nanoFramework.System.Net/X509Certificates/X509Certificate.cs +++ b/nanoFramework.System.Net/X509Certificates/X509Certificate.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // diff --git a/source/nanoFramework.System.Net/X509Certificates/X509Certificate2.cs b/nanoFramework.System.Net/X509Certificates/X509Certificate2.cs similarity index 93% rename from source/nanoFramework.System.Net/X509Certificates/X509Certificate2.cs rename to nanoFramework.System.Net/X509Certificates/X509Certificate2.cs index 9ff4e61..09340a6 100644 --- a/source/nanoFramework.System.Net/X509Certificates/X509Certificate2.cs +++ b/nanoFramework.System.Net/X509Certificates/X509Certificate2.cs @@ -1,5 +1,5 @@ // -// Copyright (c) 2019 The nanoFramework project contributors +// Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // @@ -155,6 +155,18 @@ public bool HasPrivateKey } } + /// + /// Gets the private key, null if no private key + /// + /// This will give you access directly to the raw decoded byte array of the private key + public byte[] PrivateKey => _privateKey; + + /// + /// Gets the public key + /// + /// This will give you access directly to the raw decoded byte array of the public key + public byte[] PublicKey => RawData; + /// /// Gets the date in local time after which a certificate is no longer valid. /// diff --git a/source/nanoFramework.System.Net/key.snk b/nanoFramework.System.Net/key.snk similarity index 100% rename from source/nanoFramework.System.Net/key.snk rename to nanoFramework.System.Net/key.snk diff --git a/source/nanoFramework.System.Net/packages.config b/nanoFramework.System.Net/packages.config similarity index 53% rename from source/nanoFramework.System.Net/packages.config rename to nanoFramework.System.Net/packages.config index aac9ced..c52719c 100644 --- a/source/nanoFramework.System.Net/packages.config +++ b/nanoFramework.System.Net/packages.config @@ -1,7 +1,7 @@  - - - + + + diff --git a/source/version.json b/version.json similarity index 88% rename from source/version.json rename to version.json index 279f0b4..a61494c 100644 --- a/source/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.6.1", + "version": "1.7.0", "assemblyVersion": { "precision": "revision" }, @@ -9,7 +9,8 @@ "semVer": 2.0 }, "publicReleaseRefSpec": [ - "^refs/heads/master$", + "^refs/heads/develop$", + "^refs/heads/main$", "^refs/heads/v\\d+(?:\\.\\d+)?$" ], "cloudBuild": {