-а
нашли? C:\Users\AleX>xcopy /?
Копирует файлы и деревья каталогов.
XCOPY источник [назначение] [/A | /M] [/D[:дата]] [/P] [/S [/E]] [/V] [/W]
[/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U]
[/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z] [/B] [/J]
[/EXCLUDE:файл1[+файл2][+файл3]...]
-a
третьим путем и потому ругается. ?
идут параметры запроса.?
Run-time exception (line 171): Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Class1' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
для передачи файла нужно будет поднимать сервер в любом случае?
Как отправить или считать excel файл с сетевого диска, если он не подключен?
var buf = new byte[2];
var buf2 = new byte[2] { buf[1], buf[0] };
fs.Read(buf, 0, 2);
var buf = new byte[2];
fs.Read(buf, 0, 2);
var buf2 = new byte[ 2 ] {buf[1], buf[0]};
var val = (BitConverter.ToInt16(buf2, 0));
private
а protected