private void _Share(string path) { if (File.Exists(path)) { PostModule.File(_profile.Id, path); } else if (Directory.Exists(path)) { PostModule.Directory(_profile.Id, path); } return; }