## Aurigma Image Uploader 6.1 Dual

# BaseFileInfo..::.GetSafeFileName Method

- Collapse All Sections
- BaseFileInfo Class
- See Also
- Language Filter ( all languages )

Returns a safe file name for the file if it would be saved to dirPath folder.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

## Syntax

### Visual Basic

    Public Function GetSafeFileName ( _
    	dirPath As String _
    ) As String

### C#

    public string GetSafeFileName(
    	string dirPath
    )

### Parameters

dirPath
  Type: System..::.String
  Path to the target server folder.

### Return Value

A String which represents a safe file name for the file if it would be saved to dirPath folder.

## See Also

- BaseFileInfo Class
- Aurigma.ImageUploader Namespace