I'm trying to add a SQL notification via the API, in order to do this I need to pass in the parameters for the connection. One of the properties that needs to be assigned in the SQLConnectionParameterClass is the "ParameterValue" which needs to be a byte[].
My question is which encoding class(i.e. ASCIIEncoding, UnicodeEncoding, etc) do you use to convert a string to the byte[]. I've pretty much tried all of them but when I check the connections via the VisualCron Client I get a dialog error message saying it's a System.ArgumentNullException and the array cannot be null.
I'm connecting to a MySQL database. Attached it the error from VisualCron Client.
terryo attached the following image(s):