Transmitter5 Class

The SwissDecTX Transmitter

Definition

Namespace: SwissDecTX
Assembly: SwissDecTX.Transmitter5 (in SwissDecTX.Transmitter5.dll) Version: 5.0.0.0 (5.0.0.0)
C#
[ProgIdAttribute("SwissDecTX.Transmitter5")]
public class Transmitter5 : IDisposable
Inheritance
Object    Transmitter5
Implements
IDisposable

Constructors

Transmitter5 Public constructor

Methods

CheckInteroperability 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.
CheckInteroperabilityWithOperands 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.
CheckInteroperabilityWithStringOperands 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.
CreateRequestId 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.
DeclareSalary Submit salary declaration data to the SwissDec secure web service over the internet
DeclareSalaryLocal Create salary declaration message locally (EIV case, no transmission occurs, the message is created and returned without being transmitted, also useful for testing)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
File2FileDeclareSalary Submit salary declaration to the SwissDec secure web service over the internet
File2FileDeclareSalaryLocal Create salary declaration message locally (EIV case, no transmission occurs, the message is created and returned without being transmitted, also useful for testing)
File2FileGetDialog Get dialog messages.
File2FileGetResultFromDeclareSalary Retrieve the result and result associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
File2FileGetStatusFromDeclareSalary Retrieve the status and result associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
File2FileReplyDialog Send dialog replies.
File2StringDeclareSalary Submit salary declaration to the SwissDec secure web service over the internet
File2StringDeclareSalaryLocal Create salary declaration message locally (EIV case, no transmission occurs, the message is created and returned without being transmitted, also useful for testing)
File2StringGetDialog Get dialog messages.
File2StringGetResultFromDeclareSalary Retrieve the status and result associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
File2StringGetStatusFromDeclareSalary Retrieve the status and result associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
File2StringReplyDialog Send dialog replies.
GetDialog Get dialog messages.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetLastDeclarationId Retrieve the declaration ID found in the last reply received from the server.
GetLastRequestId 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).
GetLastResponseId 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).
GetResultFromDeclareSalary Retrieve the result associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
GetStatusFromDeclareSalary Retrieve the status associated with a previous call to DeclareSalary(XmlDocument, XmlDocument, XmlDocument, XmlDocument, String, DateTime)
GetTypeGets the Type of the current instance.
(Inherited from Object)
InstallCertificates Install signing/encryption certificates (used by SwissDecTX to secure SwissDec transmissions) in the appropriate certificate stores.
LoadLicenseFile Load the SwissDecTX license file to be used for this process
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Ping 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).
PingString 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).
ReplyDialog(XmlDocument, XmlDocument, String, DialogMessageType, XmlDocument, XmlDocument, XmlDocument, XmlDocument) Send dialog replies.
ReplyDialog(XmlDocument, XmlDocument, String, XmlDocument, XmlDocument, XmlDocument, XmlDocument, XmlDocument) Send dialog replies.
SetCredentials Set user name and password required for the optional basic, digest, NTLM, or Kerberos authentication.
SetEncryption Set encryption flag
SetHttpProxy Set the address and port number of the open HTTP proxy to be used to reach the Internet
SetHttpProxyWithCredentials Set the address and port number of the secured HTTP proxy to be used to reach the Internet
SetReceiverCertificate 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.
SetSchemasLocation Set (optional) external XSD schemas location.
SetTransmitterCertificate 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.
SetUrl Set the web service URL. Used to override the configured web service address, for example to programmatically switch between the test and production servers.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also