ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamItemIdList.TItemIdListHelper.IsNetworkPathReachable

Checks if a given network path is accessible

Syntax
Pascal
class function IsNetworkPathReachable(const pItemIdList: IItemIdList; const pTimeout: Integer; const pCancellationIndicator: ICancellationIndicator = nil): Boolean;
Parameters 
Description 
const pItemIdList: IItemIdList 
ItemIdList of the path that will be checked 
const pTimeout: Integer 
The path will be considered unavailable if this value is exceeded and there is no result yet 
const pCancellationIndicator: ICancellationIndicator = nil 
An optional cancellation indicator for the workitem. Only effective for UNC paths. 

Boolean: True if the path is reachable (or does not point to a network drive), false otherwise