Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baruchiro/networkconnection
Represents a network connection along with authentication to a network share
https://github.com/baruchiro/networkconnection
networkconnection nuget nuget-package
Last synced: about 1 month ago
JSON representation
Represents a network connection along with authentication to a network share
- Host: GitHub
- URL: https://github.com/baruchiro/networkconnection
- Owner: baruchiro
- License: mit
- Created: 2020-02-08T17:07:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-22T00:01:21.000Z (about 3 years ago)
- Last Synced: 2024-10-02T00:48:54.010Z (about 1 month ago)
- Topics: networkconnection, nuget, nuget-package
- Language: C#
- Homepage:
- Size: 27.3 KB
- Stars: 8
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NetworkConnection
Represents a network connection along with authentication to a network share.
![Nuget](https://badgen.net/nuget/v/NetworkConnection)
![Publish](https://github.com/baruchiro/NetworkConnection/workflows/Publish/badge.svg?branch=master&event=push)
[![Nuget](https://img.shields.io/nuget/dt/NetworkConnection)](https://www.nuget.org/packages/NetworkConnection/)Based on [Daniel Hilgarth](https://stackoverflow.com/users/572644/daniel-hilgarth)'s [answer](https://stackoverflow.com/a/5433640/839513) from Stack Overflow.
## Usage
```cs
using(new NetworkConnection(_directoryPath, new NetworkCredential(_userName, _password)))
{
File.Copy(localPath, _directoryPath);
}
```