Click or drag to resize

Transmitter5 Class

The SwissDecTX Transmitter
Inheritance Hierarchy
SystemObject
  SwissDecTXTransmitter5

Namespace: SwissDecTX
Assembly: SwissDecTX.Transmitter5 (in SwissDecTX.Transmitter5.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax
[ProgIdAttribute("SwissDecTX.Transmitter5")]
public class Transmitter5 : IDisposable

The Transmitter5 type exposes the following members.

Constructors
 NameDescription
Public methodCode exampleTransmitter5 Public constructor
Top
Methods
 NameDescription
Public methodCode exampleCheckInteroperability Check inter-operability between SwissDecTX and the SwissDec web service, as required by test-case UC011. This call validates all the requirements specified in UC011 of the SwissDec Transmitter Requirements.
Public methodCode exampleCheckInteroperabilityWithOperands Check inter-operability between SwissDecTX and the SwissDec web service, as required by test-case UC011. This call validates all the requirements specified in UC011 of the SwissDec Transmitter Requirements but let you enter some parameters to test valid and invalid operands.
Public methodCode exampleCheckInteroperabilityWithStringOperands Check inter-operability between SwissDecTX and the SwissDec web service, as required by test-case UC011. This call validates all the requirements specified in UC011 of the SwissDec Transmitter Requirements but let you enter some parameters to test valid and invalid operands.
Public methodCreateRequestId Create a "unique" 20 character string that can be used as request ID within salary declarations. The string is composed of hexadecimal characters, namely 0-9 and A-F.
Public methodCode exampleDeclareSalary Submit salary declaration data to the SwissDec secure web service over the internet
Public methodCode exampleDeclareSalaryLocal Create salary declaration message locally (EIV case, no transmission occurs, the message is created and returned without being transmitted, also useful for testing)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodFile2FileDeclareSalary Submit salary declaration to the SwissDec secure web service over the internet
Public methodFile2FileDeclareSalaryLocal Create salary declaration message locally (EIV case, no transmission occurs, the message is created and returned without being transmitted, also useful for testing)
Public methodFile2FileGetDialog Get dialog messages.
Public methodFile2FileGetResultFromDeclareSalary Retrieve the result and result associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
Public methodFile2FileGetStatusFromDeclareSalary Retrieve the status and result associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
Public methodFile2FileReplyDialog Send dialog replies.
Public methodFile2StringDeclareSalary Submit salary declaration to the SwissDec secure web service over the internet
Public methodFile2StringDeclareSalaryLocal Create salary declaration message locally (EIV case, no transmission occurs, the message is created and returned without being transmitted, also useful for testing)
Public methodFile2StringGetDialog Get dialog messages.
Public methodFile2StringGetResultFromDeclareSalary Retrieve the status and result associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
Public methodFile2StringGetStatusFromDeclareSalary Retrieve the status and result associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
Public methodFile2StringReplyDialog Send dialog replies.
Public methodGetDialog Get dialog messages.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLastDeclarationId Retrieve the declaration ID found in the last reply received from the server.
Public methodGetLastRequestId Retrieve the request ID that was used during the last transmission. The returned identifier is either the one that was passed within the declaration document, or the one that was automatically created by the transmitter if the automatic request ID creation feature was used (i.e. the <RequestID> tag contains a single asterisk character "*", the empty string "" or the string "reqId" in the document).
Public methodGetLastResponseId Retrieve the response ID of the last reply received from the server. The returned string can be empty if no transmission occurred, or if the last operation did not comprise a server reply (e.g. local EIV creation, or a server call that ended in an error with no result).
Public methodCode exampleGetResultFromDeclareSalary Retrieve the result associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
Public methodCode exampleGetStatusFromDeclareSalary Retrieve the status associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodCode exampleInstallCertificates Install signing/encryption certificates (used by SwissDecTX to secure SwissDec transmissions) in the appropriate certificate stores.
Public methodLoadLicenseFile Load the SwissDecTX license file to be used for this process
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodCode examplePing Verifies that the SwissDec Web Service is reachable, as required by test-case UC010. This method transmits the "Hello, World!" string to the server, using clear text transmission (no digital signature and no encryption).
Public methodCode examplePingString Verifies that the SwissDec Web Service is reachable, as required by test-case UC010. This method transmits the "Hello, World!" string to the server, using clear text transmission (no digital signature and no encryption).
Public methodReplyDialog Send dialog replies.
Public methodCode exampleSetCredentials Set user name and password required for the optional basic, digest, NTLM, or Kerberos authentication.
Public methodSetEncryption Set encryption flag
Public methodCode exampleSetHttpProxy Set the address and port number of the open HTTP proxy to be used to reach the Internet
Public methodCode exampleSetHttpProxyWithCredentials Set the address and port number of the secured HTTP proxy to be used to reach the Internet
Public methodCode exampleSetReceiverCertificate Tell the SwissDecTX Transmitter what certificate to use to crypt the transmissions, this is the server's certificate and the server's public key it contains is used for encrypting outgoing messages. This call overrides the configured receiver certificate and can be used to switch programmatically between a test and a production certificate.
Public methodSetSchemasLocation Set (optional) external XSD schemas location.
Public methodCode exampleSetTransmitterCertificate Tell the SwissDecTX Transmitter what certificate to use to sign the transmissions, this is the client's certificate uniquely identifying your software. The server will use your certificate's public key to encrypt the replies sent to your computer and SwissDecTX will use this certificate's private key to decrypt the messages. This call overrides the configured transmitter certificate and can be used to switch programmatically between a test and a production certificate.
Public methodCode exampleSetUrl Set the web service URL. Used to override the configured web service address, for example to programmatically switch between the test and production servers.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also