Bug in ndisapi.cs file

Home Forums Discussions Support Bug in ndisapi.cs file

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
      Keymaster

        Thanks for reporting this

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.