Skip to content

problem about get device name  #1

@littlewu0

Description

@littlewu0

Hello!
I met a problem when I used manzana. When my iphone'name has Chinese name, I will get an empty value by calling function GetDeviceName of iPhone calss.

And I found that if I get byte from IntPtr in that satuation, I will get 0 value.
It works well if the name is English char.

And I am new in C#. How can I solve this problem.

Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions