Checks if file path is inside doc or temp folder as specified in origPath.
'Declaration
Public Function IsFileSafeToOpen( _
ByVal As System.String _
) As System.Boolean
'Usage
Dim instance As ApplicationConfig
Dim origPath As System.String
Dim value As System.Boolean
value = instance.IsFileSafeToOpen(origPath)
public System.bool IsFileSafeToOpen(
System.string
)
public function IsFileSafeToOpen(
: System.String
): System.Boolean;
public function IsFileSafeToOpen(
: System.String
) : System.boolean;
public: System.bool IsFileSafeToOpen(
System.string*
)
public:
System.bool IsFileSafeToOpen(
System.String^
)
Parameters
- origPath
- File path to check.
Return Value
True if the file can be opened in origPath false otherwise.