public ShellItem GetRemoteItem(string fileSystemPath) { if (fileSystemPath == null || (_root == null)) { return(null); } var relative = fileSystemPath.Substring(WebApi.LocalDirectory.FullName.Length); if (relative.StartsWith(@"\")) { relative = relative.Substring(1); } return(_root.ParseItem(relative)); }