logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
Terry  
#1 Posted : Thursday, October 19, 2017 9:14:36 AM(UTC)
Quote
Terry

Rank: Member

Groups: Registered
Joined: 7/26/2016(UTC)
Posts: 25
United Kingdom
Location: Somerset

Thanks: 5 times
Hi,

Is there a method or property that allows the version number of the Pdfium.NET library to be programmatically queried at runtime?

Thanks.

Terry.

Edited by user Friday, October 20, 2017 1:28:35 AM(UTC)  | Reason: Not specified

Paul Rayman  
#2 Posted : Saturday, October 21, 2017 2:39:53 AM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
Yes of course.

Code:

var assembly = System.Reflection.Assembly.GetAssembly(typeof(PdfCommon));
var ver =  assembly.GetName().Version;
Terry  
#3 Posted : Monday, October 23, 2017 1:44:07 AM(UTC)
Quote
Terry

Rank: Member

Groups: Registered
Joined: 7/26/2016(UTC)
Posts: 25
United Kingdom
Location: Somerset

Thanks: 5 times
Okay, the version is obtained from the assembly info, rather than via a property of a Pdfium.Net object. That's fine. Thanks for your help.

Terry.
Quick Reply Show Quick Reply
Users browsing this topic
Guest
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.