This project is read-only.

The code for reading name should be protected


The code fore reading name should be protected. It is causing an exception when the name is empty and an attempt to write a file with no name is done.

I have changed the code a bit like the following (accounting for CHARSET encoding in cards as well):
            if (line.StartsWith("FN:") || line.StartsWith("FN;")) 
                name = line.Substring(line.IndexOf(':')+1) + ".vcf";
            if (name.Length == 0)
                name = "Unknown" + iFiles;
And this works for me, but it is a quick a dirty fix. I would make sure I cover all formats of the VCF card files.

Hope this helps.