public static CreateModuleName ( string readerName ) : string | ||
readerName | string | |
return | string |
public static string CreateModuleName(string readerName)
{
if (readerName.IndexOfAny(Path.InvalidPathChars) > -1)
{
return EncodeModuleName(readerName);
}
return Path.GetFileNameWithoutExtension(Path.GetFileName(readerName));
}