Beispiel #1
0
        public bool ResourceExists(string path)
        {
            IRemoteResourceInformationService rris = ServiceRegistration.Get <IRemoteResourceInformationService>();
            ResourcePath resourcePath = rris.ConcatenatePaths(_nativeSystemId, _nativeResourcePath, path);

            return(rris.ResourceExists(_nativeSystemId, resourcePath));
        }
Beispiel #2
0
        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);
        }