Gets the absolute path of the home directory path of currently logged user.

Namespace:  Rebex.Net
Assembly:  Rebex.Sftp (in Rebex.Sftp.dll)

Syntax

Visual Basic
Public Function GetHomeDirectory As String
C#
public string GetHomeDirectory()

Return Value

A string containing the absolute path of the current user's home directory.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also