Discuss this help topic in SecureBlackbox Forum

TElWebDAVLock.StringToTimeout

TElWebDAVLock     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Converts a string to timeout.

Declaration

[C#/Java]
    static long StringToTimeout(string S);

[VB.NET]
    Shared Function StringToTimeout(ByVal S As String) As Long

[Pascal]
    class function StringToTimeout(const S : string) : Int64;

[C++]
    static int64_t StringToTimeout(const std::string &S);

[PHP]
    integer StringToTimeout(string $S)

Parameters

  • S - the string that contains timeout value.

Return value

    Returns the timeout in seconds.
    If the string value is 'infinite' or 'infinity', the value of 4100000000 will be returned.

Description

    Use this method to convert a string to timeout. The format of the string is explained in RFC 4918.

See also:     TimeoutToString    

Discuss this help topic in SecureBlackbox Forum