MultiPartWriter.NewUrl(String) Method

Definition

Generates a unique URL. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public virtual string NewUrl(string filetype);

Parameters

filetype
String

Contains the file name extension for the new URL.

Returns

A unique URL based on a globally unique ID (GUID).

Remarks

This method creates a unique URL by generating a GUID, converting it to a string, and appending the file name extension contained in the filetype parameter.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also