Use the C++ API to determine the path of the ticket file

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)

Syntax

C#
public static string GetTicketFile()
Visual Basic
Public Shared Function GetTicketFile As String
Visual C++
public:
static String^ GetTicketFile()

Return Value

The path for the ticket file

See Also