GlobalProfileAppendProgramNameSuffix Method

Appends suffix to the program name.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.2.9018.0
C#
public static string AppendProgramNameSuffix(
	string name,
	SessionProfile sessionProfile = null,
	bool includeVersion = false,
	bool includePlatform = false
)

Parameters

name  String
Name of the program.
sessionProfile  SessionProfile  (Optional)
Current session profile.
includeVersion  Boolean  (Optional)
Determines whether to include program version to the output or not.
includePlatform  Boolean  (Optional)
Determines whether to include platform name to the output or not.

Return Value

String
Program name with a suffix.

Exceptions

ArgumentNullExceptionProgram name must be specified.

See Also