using System.Net.Mail;
class Test
{
public static string QPDecode(String str, String encoding)
{
Attachment attachment = Attachment.CreateAttachmentFromString("", "=?" + encoding + "?Q?" + str + "?=");
return attachment.Name;
}
public static void Main(string[] args)
{
Console.WriteLine(QPDecode("=42=75=72=73=61=6C=C4=B1;=4D=75=73=74=61=66=61", "UTF-8"));
//Bursalı;Mustafa
}
}
How to extract the parts "UTF-8"
and "=42=75=72=73=61=6C=C4=B1;=4D=75=73=74=61=66=61"
from your file is left exercise to you :P