How can I get all filenames of a directory (and its subdirectorys) without the full path? Directory.GetFiles(...) returns always the full path!
You can just extract the file name from the full path.
var sections = fullPath.Split('\\'); var fileName = sections[sections.Length - 1];