Create a short URL from your long URL.
Namespace: NuGardt.Yourls.APIAssembly: NuGardt.Yourls.API (in NuGardt.Yourls.API.dll) Version: 1.0.0.1 (1.0.0.1)
public Exception CreateShortUrl(
string LongUrl,
IYourlsAuthentication Authentication,
out YourlsCreateShortUrlResult Result,
string Keyword = null,
string Title = null
)
public Exception CreateShortUrl(
string LongUrl,
IYourlsAuthentication Authentication,
out YourlsCreateShortUrlResult Result,
string Keyword = null,
string Title = null
)
Public Function CreateShortUrl (
LongUrl As String,
Authentication As IYourlsAuthentication,
<OutAttribute> ByRef Result As YourlsCreateShortUrlResult,
Optional Keyword As String = Nothing,
Optional Title As String = Nothing
) As Exception
Public Function CreateShortUrl (
LongUrl As String,
Authentication As IYourlsAuthentication,
<OutAttribute> ByRef Result As YourlsCreateShortUrlResult,
Optional Keyword As String = Nothing,
Optional Title As String = Nothing
) As Exception
public:
Exception^ CreateShortUrl(
String^ LongUrl,
IYourlsAuthentication^ Authentication,
[OutAttribute] YourlsCreateShortUrlResult^% Result,
String^ Keyword = nullptr,
String^ Title = nullptr
)
public:
Exception^ CreateShortUrl(
String^ LongUrl,
IYourlsAuthentication^ Authentication,
[OutAttribute] YourlsCreateShortUrlResult^% Result,
String^ Keyword = nullptr,
String^ Title = nullptr
)
Return Value
Type:
ExceptionReturns an
System.Exception if an error occurred otherwise
Nothing.