Serial port and GPS

Utils.getExtFileName Method 

Creates a file name consisting of the exe name and the given extension

[Visual Basic]
Public Shared Function getExtFileName( _
   ByVal ext As String _
) As String
[C#]
public static string getExtFileName(
   string ext
);

Parameters

ext
the desired extension

Return Value

File name consiting of the exe name with the extension replaced by the given extension. Eg. Exepath is /usr/bin/test.exe, ext is cfg, the resulting file name will be /usr/bin/test.cfg.

See Also

Utils Class | serial Namespace