Selerix Developer Tools
IsFileNameSafe Method






Selerix.Foundation Assembly > Selerix.Foundation.Data Namespace > Utils Class : IsFileNameSafe Method
The file name
Checks if the file name is safe for the system and does not point to unauthorized locations
Syntax
'Declaration
 
Public Shared Function IsFileNameSafe( _
   ByVal fileName As String _
) As Boolean
'Usage
 
Dim fileName As String
Dim value As Boolean
 
value = Utils.IsFileNameSafe(fileName)
public static bool IsFileNameSafe( 
   string fileName
)
public function IsFileNameSafe( 
    fileName: String
): Boolean; static; 
public static function IsFileNameSafe( 
   fileName : String
) : boolean;
public: static bool IsFileNameSafe( 
   string* fileName
) 
public:
static bool IsFileNameSafe( 
   String^ fileName
) 

Parameters

fileName
The file name
See Also

Reference

Utils Class
Utils Members