dotnet / dotnet/dotnet-api-docs
How can I access the encoding of the DisplayName property in MailAddress
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Hi,
The third constructor of [MailAddress](https://docs.microsoft.com/en-us/dotnet/api/system.net.mail.mailaddress.-ctor?view=netframework-4.7), MailAddress(String, String, Encoding.
The third parameter is, displayNameEncoding Encoding
The Encoding that defines the character set used for displayName.
But when I have a instance of MailAddress, how can I get the encoding of the displayname?
I am not sure if there is the correct place for me to give the feedback,but I can not leave a comment in [document](https://docs.microsoft.com/en-us/dotnet/api/system.net.mail.mailaddress.-ctor?view=netframework-4.7)
Contributor guide
Assessment
This issue has not been assessed yet.