public bool ResourceExists(string path) { IRemoteResourceInformationService rris = ServiceRegistration.Get <IRemoteResourceInformationService>(); ResourcePath resourcePath = rris.ConcatenatePaths(_nativeSystemId, _nativeResourcePath, path); return(rris.ResourceExists(_nativeSystemId, resourcePath)); }
public IFileSystemResourceAccessor GetResource(string path) { IRemoteResourceInformationService rris = ServiceRegistration.Get <IRemoteResourceInformationService>(); ResourcePath resourcePath = rris.ConcatenatePaths(_nativeSystemId, _nativeResourcePath, path); IFileSystemResourceAccessor result; return(ConnectFileSystem(_nativeSystemId, resourcePath, out result) ? result : null); }