|
In this example, we're adding two custom web fields, that are required by our web tracker, in order to be able to upload the bug report. Let's say that out bug tracker requires user name and password on upload.
It's simple to add the credential information to the request.
C# example:
private void eurekaLog1_CustomWebFieldsRequest(Exception Error, EurekaLogSystem.EurekaLogOptions Options, EurekaLogSystem.FieldList WebFields)
{
WebFields.Add("UserName", Options.TrakerUserID);
WebFields.Add("Password", Options.TrakerPassword);
}
|
Visual Basic example:
Private Sub EurekaLog1_CustomWebFieldsRequest(ByVal [Error] As System.Exception, ByVal Options As EurekaLogSystem.EurekaLogOptions, ByVal WebFields As EurekaLogSystem.FieldList) Handles EurekaLog1.CustomWebFieldsRequest
WebFields.Add("UserName", Options.TrakerUserID)
WebFields.Add("Password", Options.TrakerPassword)
End Sub
|
|