Bug in ndisapi.cs file

Home Forums Discussions Support Portal Bug in ndisapi.cs file

This topic contains 1 reply, has 2 voices, and was last updated by  Vadim Smirnov 5 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5354

    sharok
    Participant

    Hi. In the function ConvertAdapterName you return ASCII string. Therefore, the connection name in the Cyrillic alphabet will be displayed with a “?”.
    Need to:

    res = System.Text.Encoding.Default.GetString(szAdapterName, 0, zero_index);

    Instead of:

    res = System.Text.Encoding.ASCII.GetString(szAdapterName, 0, zero_index);

    Default is the ANSI codepage in C#.

    #7028

    Vadim Smirnov
    Moderator

    Thanks for reporting this

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.