Konvertera OFX förfrågnings- och svarsfiler till C# API
Contents
[
Hide
]
Aspose.Finance for .NET stöder konvertering av OFX förfrågnings- och svarsfiler mellan formaten 1.03 och 2.2. Följande C#-exempel visar att OFX-förfrågnings- och svarsfiler konverteras från 1.03-format till 2.2-format med API.
Konvertera OFX Request File från 1.03 till 2.2 format i .NET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-finance/Aspose.Finance-for-.NET | |
// Working directories | |
string sourceDir = RunExamples.Get_SourceDirectory(); | |
string outputDir = RunExamples.Get_OutputDirectory(); | |
OfxRequestDocument document = new OfxRequestDocument(sourceDir + @"bankTransactionReq.sgml"); | |
document.Save(outputDir + @"bankTransactionReq.xml", OfxVersionEnum.V2x); |
Konvertera OFX svarsfil från 1.03 till 2.2 format i .NET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-finance/Aspose.Finance-for-.NET | |
// Working directories | |
string sourceDir = RunExamples.Get_SourceDirectory(); | |
string outputDir = RunExamples.Get_OutputDirectory(); | |
OfxResponseDocument document = new OfxResponseDocument(sourceDir + @"bankTransactionRes.sgml"); | |
document.Save(outputDir + @"bankTransactionRes.xml", OfxVersionEnum.V2x); |