public static bool PathIsValidFileName(string smalFileName)
{
//Phone.IO.PathIsValidFileName("asdjaskdjkasd¤%//{{{{]]{]}}][[}];;:::,.,.//*-**++¨´¨´¨'´''-,____½§§.//676210"); (false)
//Phone.IO.PathIsValidFileName("hello.lol"); (true)
return DllImportCaller.lib.StringCall("shcore", "PathIsValidFileName", smalFileName /* Hello.exe */) == 1;
}