Skip to content

SSH.Net 2024.0.0 works for UWP but does not work for Android and iOS #1406

Closed
@Karteeka18

Description

@Karteeka18

Discussed in #1405

Originally posted by Karteeka18 May 17, 2024
We have integrated SSH.Net 2024.0.0 from Nuget for Xamarin UWP, Xamarin. IOS and Mono Android. UWP works fine. BUT iOS and Android are throwing exceptions. Any ideas or suggestions would be helpful.
Visual Studio 2022 C#

          using (SftpClient sftp = new SftpClient(host, port, user, pass))
            {
                sftp.Connect();

                if (!sftp.Exists(path))
                    ok = false;
                sftp.Disconnect();
            }

Throws an Exception on sftp.Connect().

iOS Exception
{System.NotImplementedException: The method or operation is not implemented. at System.Security.Cryptography.ECDsa.Create (System.Security.Cryptography.ECParameters parameters) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamari…} 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions