Skip to content

feat: Отправка файлов и загрузка#46

Merged
Kibnet merged 1 commit intomasterfrom
feature/#17-SendFiles
Jun 16, 2021
Merged

feat: Отправка файлов и загрузка#46
Kibnet merged 1 commit intomasterfrom
feature/#17-SendFiles

Conversation

@tranee95
Copy link
Copy Markdown
Collaborator

No description provided.

{
public interface ICanOpenFileDialog
{
Task<string[]> Open();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут можно передавать IEnumerable

var read = stream.Read(data, 0, bufferSize);
fileStream.Write(data, 0, read);

hashString += data.ToMd5Hash();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут нужно считать хэш так чтобы получилась строка одного размера в не зависимости от размера файла. Сейчас зависитю

@Kibnet Kibnet merged commit a1ea86a into master Jun 16, 2021
@Kibnet Kibnet linked an issue Jun 16, 2021 that may be closed by this pull request
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Отправка файлов

2 participants