Hunny Software Library Reference

MediaType.CreateBoundary Method 

Creates a string suitable for use as a boundary parameter.

[Visual Basic]
Public Function CreateBoundary( _
   ByVal level As Integer _
) As String
[C#]
public string CreateBoundary(
   int level
);

Parameters

level
indicates the level of nesting

Return Value

the newly created boundary string

Remarks

This method is a convenience method that creates a random string suitable for use as a multipart boundary. The method sets newly created string as the value of the Boundary property.

See Also

MediaType Class | Hunny.Mime Namespace