drieseng
45ab50572d
Removed copyright.
2016-04-29 21:57:56 +02:00
drieseng
706ab13247
Relicense as MIT
2016-04-29 21:50:29 +02:00
Gert Driesen
f456cbad87
Complete rename of HashAlgorithmFactory source file and update package dependency.
2016-04-28 22:15:04 +02:00
drieseng
ba8a30bce1
Added tests for GenerateRandom.
...
Updated project files after move and rename.
Fixed a few warning in HashAlgorithmFactory.
2016-04-28 22:01:41 +02:00
drieseng
96eb559c09
Move HashAlgorithmFactory to Abstractions, and rename it to CryptoAbstraction.
...
Class rename will follow.
2016-04-28 22:00:47 +02:00
drieseng
957aeaf0bc
Remove unused imports.
2016-04-28 21:20:57 +02:00
drieseng
9c908ffc62
Fix GenerateRandom for UAP/UWP.
2016-04-28 21:19:40 +02:00
drieseng
a6e0e006f8
Fixed CanRead and CanWrite in SocketAbstraction when socket is connected, and target framework does not support socket poll.
2016-04-26 21:41:34 +02:00
drieseng
5f1ee99e5e
Fix API feature toggles.
2016-04-25 21:41:01 +02:00
drieseng
a563634d24
Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git
2016-04-25 19:48:26 +02:00
drieseng
d1cd0f31c1
Temporarily commit nuget packages.
2016-04-24 17:51:37 +02:00
drieseng
9f9864e789
Improve socket related error handling.
...
Refactor to compile UWP project without using CoreFX.
2016-04-24 17:51:08 +02:00
drieseng
9019ce39b6
Rename Renci.Security.Cryptography to SshNet.Security.Cryptography.
...
For now, do not use CoreFX.
2016-04-24 17:47:57 +02:00
drieseng
1da035203c
Added test project for WP 8.0.
...
Added few tests for abstraction classes.
2016-04-24 17:45:41 +02:00
drieseng
78167833a8
Added (incomplete) support for GetHostAddresses on UAP/UWP without relying on CoreFX (.NET Core).
2016-04-24 17:43:16 +02:00
drieseng
685dc9f8d8
Added null check
2016-04-24 17:42:09 +02:00
drieseng
13b4f8bcd8
Added ReadByte and SendByte convenience methods.
2016-04-24 17:41:43 +02:00
drieseng
172989554e
Renamed VS 2012 solution file to Renci.SshNet.VS2012.sln.
2016-04-24 09:42:27 +02:00
drieseng
2310845728
Introduce abstraction for generating a strong random sequence, as UWP/WinRT does not come with RandomNumberGenerator.
...
On UWP/WinRT, we'll use CryptographicBuffer.GenerateRandom(uint).
We'll probably revisit this once CoreFX is more stable (after RC2).
2016-04-23 20:34:22 +02:00
drieseng
fd36ae40b7
Fixed some warnings.
2016-04-23 20:30:22 +02:00
drieseng
d2e4728512
Removed param from XML doc.
2016-04-23 20:26:17 +02:00
drieseng
1810e45284
Fixed hide warnings.
2016-04-23 20:25:33 +02:00
drieseng
c3618cf771
Fixed compile warning.
2016-04-23 20:24:58 +02:00
Gert Driesen
e5304c3d3e
We now use VS 2015update 2
2016-04-22 23:36:14 +02:00
drieseng
3203245db9
Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git
2016-04-05 18:55:36 +02:00
drieseng
2c3d72c481
Moved usage of TraceSource (and related classes) to DiagnosticAbstraction class.
2016-04-05 18:55:30 +02:00
drieseng
6ae759b692
Remove partial modifier.
2016-04-05 18:08:44 +02:00
Gert Driesen
29080fd2d1
Add FEATURE_DIAGNOSTICS_TRACESOURCE symbol.
2016-04-05 18:08:09 +02:00
drieseng
5928052150
Ignore SshConnectionException while closing channel.
2016-04-05 17:53:43 +02:00
drieseng
bba2e5bad6
Added back signaling of socket read.
2016-04-05 17:52:08 +02:00
drieseng
430bf0ebf6
Added comment for reset of waithandle.
2016-04-05 17:51:43 +02:00
drieseng
b1b2186cdb
Removed FEATURE_SOCKET_SETSOCKETOPTION symbol.
2016-04-05 15:13:49 +02:00
drieseng
cfdaa75902
Fix tests after recent changes.
2016-04-05 15:07:48 +02:00
drieseng
001646a748
Prefer EAP for sockets.
...
Fix compile errors in SocketAbstraction.Connect(...) for TAP and APM.
2016-04-05 09:14:35 +02:00
drieseng
f80b14dc50
Inversed logic, as ConnectAsync returns true when there's I/O pending.
2016-04-04 21:31:56 +02:00
Gert Driesen
2f76f8de79
Remove usage of socket related partial methods.
...
Use methods in SocketAbstraction instead of partial methods.
2016-04-04 21:17:02 +02:00
Gert Driesen
c553f0664b
Remove usage of this qualifier.
2016-04-04 21:14:12 +02:00
Gert Driesen
6f27e5f037
Remove obsolete source files.
2016-04-04 21:12:07 +02:00
Gert Driesen
5221cf7158
Remove obsolete or duplicate source files.
2016-04-04 15:02:27 +02:00
Gert Driesen
653db3a226
Remove obsolete source files.
2016-04-04 14:51:05 +02:00
Gert Driesen
7d4dfa5ac4
Remove empty partial Extensions source file.
2016-04-04 14:40:59 +02:00
Gert Driesen
b5c7066bde
Reduce partial methods/classes and streamline API surface across target frameworks
...
* Make Extensions.DebugPrint(this IEnumerable<byte>) available on all
target frameworks.
* Moved the following extension methods from Extensions.<target
framework>.cs to Extensions.cs:
- IsNullOrWhiteSpace(this string)
- CanRead(this Socket)
- CanWrite(this Socket)
* Removed GetIPAddress(this string) from Extensions.cs, and use
DnsAbstraction.GetHostAddresses(string) instead.
* Make ForwardedPortRemote(uint boundPort, string host, uint port) and
ForwardedPortRemote(string boundHost, uint boundPort, string host, uint
port) constructors available on all target frameworks.
* Eliminated SendData(IChannelSession channel, string command) partial
method from ScpClient.cs.
* Make the following methods on SftpClient available on all target
frameworks:
- SynchronizeDirectories(string, string, string)
- BeginSynchronizeDirectories(string, string, string, AsyncCallback,
object)
- EndSynchronizeDirectories(IAsyncResult)
* Make DnsAbstraction.GetHostAddresses(string) available on all target
frameworks.
* Added SocketAbstraction class.
2016-04-04 14:37:09 +02:00
Gert Driesen
7a8135fd0c
Added FEATURE_SOCKET_POLL symbol.
2016-04-04 14:21:24 +02:00
drieseng
722106e26f
Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git
2016-04-04 09:59:53 +02:00
drieseng
61463b9f2f
Rename conditional compilation symbols.
2016-04-03 16:21:57 +02:00
drieseng
7a08df2487
Implement task async pattern and event-based async pattern.
2016-04-03 16:16:18 +02:00
drieseng
745f352e86
Clarify dynamic port forwarding.
2016-04-03 16:12:42 +02:00
drieseng
92f8077ee3
Introduce FEATURE_MEMORYSTREAM_TRYGETBUFFER symbol, and clarify doc.
2016-04-03 16:11:59 +02:00
drieseng
64e375dc2d
Revert "Clearify dynamic port forwarding."
...
This reverts commit 6c29387d5f .
2016-04-03 16:03:29 +02:00
drieseng
6c29387d5f
Clearify dynamic port forwarding.
2016-04-03 16:01:35 +02:00