Nevron Open Vision Documentation
Nevron.Nov.Networking Namespace / NWebRequest Class / TryCreate Method


In This Topic
    TryCreate Method (NWebRequest)
    In This Topic
    Tries to create a new URI request for the resourse located at the specified URI. Current recognized are HTTP, HTTPS and FILE URIs.
    Syntax
    'Declaration
     
    
    Public Shared Function TryCreate( _
       ByVal uri As NUriBase, _
       ByRef request As NWebRequest _
    ) As System.Boolean
    'Usage
     
    
    Dim uri As NUriBase
    Dim request As NWebRequest
    Dim value As System.Boolean
     
    value = NWebRequest.TryCreate(uri, request)
    public static System.bool TryCreate( 
       NUriBase uri,
       out NWebRequest request
    )

    Parameters

    uri
    request
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also