Skip to content

Accessing a hash algorithm by manipulating the HashName property is not supported on this platform. #859

Closed
@alvaromolinaGL

Description

@alvaromolinaGL

Hi, I am using the library to send some files through an sftp, I am connecting to the site via the SftpClient class:

var client = new SftpClient(host, port, username, password);

client.Connect();
client.UploadFile(zipFile, outPath);
client.Disconnect();

This code is running in an azure function, it was working fine but it stopped working back in May and its now throwing this message:

Accessing a hash algorithm by manipulating the HashName property is not supported on this platform. Instead, you must instantiate one of the supplied subtypes (such as HMACSHA1.)

Any ideas??

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions