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.