Skip to content

Commit

Permalink
Update WikiClient UA.
Browse files Browse the repository at this point in the history
  • Loading branch information
CXuesong committed May 12, 2024
1 parent df21c73 commit 556f528
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions WikiClientLibrary/Client/WikiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ public class WikiClient : IWikiClient, IWikiClientLoggable, IDisposable
private const string targetFramework = ".NET 6.0";
#elif NET8_0
private const string targetFramework = ".NET 8.0";
#elif NETSTANDARD2_1
private const string targetFramework = ".NET Standard 2.1";
#endif

/// <summary>
/// The User Agent of Wiki Client Library.
/// </summary>
public const string WikiClientUserAgent = "WikiClientLibrary/0.7 (" + targetFramework + "; http://github.com/cxuesong/WikiClientLibrary)";
public const string WikiClientUserAgent = "WikiClientLibrary/0.9 (" + targetFramework + "; http://github.com/cxuesong/WikiClientLibrary)";

public WikiClient() : this(new HttpClientHandler(), true)
{
Expand Down

0 comments on commit 556f528

Please sign in to comment.