Generates a Content-ID to use when uploading a file as an inline attachment.

Namespace: ININ.IceLib.Interactions
Assembly: ININ.IceLib.Interactions (in ININ.IceLib.Interactions.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public string GenerateContentId(
	string fileName
)
Visual Basic
Public Function GenerateContentId ( _
	fileName As String _
) As String

Parameters

fileName
Type: System..::..String
The path and name of the local file that will be uploaded as the inline attachment.

Return Value

The generated Content-ID conforming to RFCs 2111 and 822.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentExceptionA parameter contains an invalid value.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also