Added Telegram Backend skeleton

This commit is contained in:
Karen Martikyan
2020-09-20 22:57:03 +04:00
parent 40597aaec2
commit 73fbb047e7
17 changed files with 452 additions and 0 deletions
+8
View File
@@ -105,6 +105,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Backend.T
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Backend.TencentCOS", "Duplicati\Library\Backend\TencentCOS\Duplicati.Library.Backend.TencentCOS.csproj", "{545DD6D4-9476-42D6-B51C-A28E000C489E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Backend.Telegram", "Duplicati\Library\Backend\Telegram\Duplicati.Library.Backend.Telegram.csproj", "{F61679A9-E5DE-468A-B5A4-05F92D0143D2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TelegramTest", "TelegramTest\TelegramTest.csproj", "{F83A537E-895A-496B-AA5F-693E0F9BAE4B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -315,6 +319,10 @@ Global
{545DD6D4-9476-42D6-B51C-A28E000C489E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{545DD6D4-9476-42D6-B51C-A28E000C489E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{545DD6D4-9476-42D6-B51C-A28E000C489E}.Release|Any CPU.Build.0 = Release|Any CPU
{F83A537E-895A-496B-AA5F-693E0F9BAE4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F83A537E-895A-496B-AA5F-693E0F9BAE4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F83A537E-895A-496B-AA5F-693E0F9BAE4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F83A537E-895A-496B-AA5F-693E0F9BAE4B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -90,6 +90,10 @@
<Project>{ae035e01-c917-4f13-a35e-78f21c1a2f17}</Project>
<Name>Duplicati.Library.Backend.Tardigrade</Name>
</ProjectReference>
<ProjectReference Include="..\..\Library\Backend\Telegram\Duplicati.Library.Backend.Telegram.csproj">
<Project>{f61679a9-e5de-468a-b5a4-05f92d0143d2}</Project>
<Name>Duplicati.Library.Backend.Telegram</Name>
</ProjectReference>
<ProjectReference Include="..\..\Library\Backend\TencentCOS\Duplicati.Library.Backend.TencentCOS.csproj">
<Project>{545dd6d4-9476-42d6-b51c-a28e000c489e}</Project>
<Name>Duplicati.Library.Backend.TencentCOS</Name>
@@ -96,6 +96,10 @@
<Project>{ae035e01-c917-4f13-a35e-78f21c1a2f17}</Project>
<Name>Duplicati.Library.Backend.Tardigrade</Name>
</ProjectReference>
<ProjectReference Include="..\..\Library\Backend\Telegram\Duplicati.Library.Backend.Telegram.csproj">
<Project>{f61679a9-e5de-468a-b5a4-05f92d0143d2}</Project>
<Name>Duplicati.Library.Backend.Telegram</Name>
</ProjectReference>
<ProjectReference Include="..\..\Library\Backend\TencentCOS\Duplicati.Library.Backend.TencentCOS.csproj">
<Project>{545dd6d4-9476-42d6-b51c-a28e000c489e}</Project>
<Name>Duplicati.Library.Backend.TencentCOS</Name>
@@ -111,6 +111,10 @@
<Project>{32a74526-3e5f-413a-8cb4-1efdad4c8b91}</Project>
<Name>Duplicati.Library.Backend.Sia</Name>
</ProjectReference>
<ProjectReference Include="..\Library\Backend\Telegram\Duplicati.Library.Backend.Telegram.csproj">
<Project>{f61679a9-e5de-468a-b5a4-05f92d0143d2}</Project>
<Name>Duplicati.Library.Backend.Telegram</Name>
</ProjectReference>
<ProjectReference Include="..\Library\Compression\Duplicati.Library.Compression.csproj">
<Project>{19ECCE09-B5EB-406C-8C57-BAC66997D469}</Project>
<Name>Duplicati.Library.Compression</Name>
@@ -134,6 +134,10 @@
<Project>{C0270709-2A40-43B5-8CF1-69581B9FA2A1}</Project>
<Name>Duplicati.Library.Backend.TahoeLAFS</Name>
</ProjectReference>
<ProjectReference Include="..\..\Library\Backend\Telegram\Duplicati.Library.Backend.Telegram.csproj">
<Project>{f61679a9-e5de-468a-b5a4-05f92d0143d2}</Project>
<Name>Duplicati.Library.Backend.Telegram</Name>
</ProjectReference>
<ProjectReference Include="..\..\Library\Backend\WEBDAV\Duplicati.Library.Backend.WEBDAV.csproj">
<Project>{BAE27510-8B5D-44B2-B33E-372A98908041}</Project>
<Name>Duplicati.Library.Backend.WEBDAV</Name>
@@ -221,6 +221,10 @@
<Project>{ae035e01-c917-4f13-a35e-78f21c1a2f17}</Project>
<Name>Duplicati.Library.Backend.Tardigrade</Name>
</ProjectReference>
<ProjectReference Include="..\..\Library\Backend\Telegram\Duplicati.Library.Backend.Telegram.csproj">
<Project>{f61679a9-e5de-468a-b5a4-05f92d0143d2}</Project>
<Name>Duplicati.Library.Backend.Telegram</Name>
</ProjectReference>
<ProjectReference Include="..\..\Library\Backend\TencentCOS\Duplicati.Library.Backend.TencentCOS.csproj">
<Project>{545dd6d4-9476-42d6-b51c-a28e000c489e}</Project>
<Name>Duplicati.Library.Backend.TencentCOS</Name>
@@ -114,6 +114,7 @@ namespace Duplicati.Library.Backend
static S3()
{
Console.WriteLine("STATIC CONSTRUCTOR!!");
var ns = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase) {
{ "(default)", "" },
{ "Standard", "STANDARD" },
@@ -166,10 +167,15 @@ namespace Duplicati.Library.Backend
public S3()
{
Console.WriteLine("Empty constructor!!");
Console.WriteLine(this.GetHashCode());
}
public S3(string url, Dictionary<string, string> options)
{
Console.WriteLine($"Parameterized constructor with url {url} and options count = {options.Count}");
Console.WriteLine(this.GetHashCode());
options.Add(new Random().Next().ToString(), "0");
var uri = new Utility.Uri(url);
uri.RequireHost();
@@ -419,6 +425,8 @@ namespace Duplicati.Library.Backend
public void Test()
{
Console.WriteLine("TEST");
Console.WriteLine(this.GetHashCode());
this.TestList();
}
@@ -443,6 +451,7 @@ namespace Duplicati.Library.Backend
public void Dispose()
{
Console.WriteLine("Disposed!!!!");
s3Client?.Dispose();
s3Client = null;
}
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="15.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{F61679A9-E5DE-468A-B5A4-05F92D0143D2}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Duplicati.Library.Backend</RootNamespace>
<AssemblyName>Duplicati.Library.Backend.FTP</AssemblyName>
<AssemblyOriginatorKeyFile>Duplicati.snk</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<TargetFrameworkProfile />
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<UseMSBuildEngine>false</UseMSBuildEngine>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed">
<HintPath>..\..\..\..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http" />
<Reference Include="TeleSharp.TL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\..\..\packages\TLSharp.0.1.0.555\lib\net46\TeleSharp.TL.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="TLSharp.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\..\..\packages\TLSharp.0.1.0.555\lib\net46\TLSharp.Core.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="InMemorySessionStore.cs" />
<Compile Include="TelegramBackend.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Strings.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Modules\Builtin\Duplicati.Library.Modules.Builtin.csproj">
<Project>{52826615-7964-47FE-B4B3-1B2DBDF605B9}</Project>
<Name>Duplicati.Library.Modules.Builtin</Name>
</ProjectReference>
<ProjectReference Include="..\..\Utility\Duplicati.Library.Utility.csproj">
<Project>{DE3E5D4C-51AB-4E5E-BEE8-E636CEBFBA65}</Project>
<Name>Duplicati.Library.Utility</Name>
</ProjectReference>
<ProjectReference Include="..\..\Interface\Duplicati.Library.Interface.csproj">
<Project>{C5899F45-B0FF-483C-9D38-24A9FCAAB237}</Project>
<Name>Duplicati.Library.Interface</Name>
</ProjectReference>
<ProjectReference Include="..\..\Localization\Duplicati.Library.Localization.csproj">
<Project>{B68F2214-951F-4F78-8488-66E1ED3F50BF}</Project>
<Name>Duplicati.Library.Localization</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\Duplicati.Library.Common.csproj">
<Project>{D63E53E4-A458-4C2F-914D-92F715F58ACF}</Project>
<Name>Duplicati.Library.Common</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="Duplicati.snk" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Binary file not shown.
@@ -0,0 +1,41 @@
using System.Collections.Concurrent;
using TLSharp.Core;
namespace Duplicati.Library.Backend
{
public class InMemorySessionStore : ISessionStore
{
private readonly ConcurrentDictionary<string, byte[]> m_userIdSessionBytesMap = new ConcurrentDictionary<string, byte[]>();
private readonly ConcurrentDictionary<string, string> m_userIdPhoneCodeHashMap = new ConcurrentDictionary<string, string>();
public void Save(Session session)
{
m_userIdSessionBytesMap[session.SessionUserId] = session.ToBytes();
}
public Session Load(string sessionUserId)
{
if (m_userIdSessionBytesMap.TryGetValue(sessionUserId, out var sessionBytes))
{
return Session.FromBytes(sessionBytes, this, sessionUserId);
}
return null;
}
public void SetPhoneHash(string sessionUserId, string phoneCodeHash)
{
m_userIdPhoneCodeHashMap[sessionUserId] = phoneCodeHash;
}
public string GetPhoneHash(string sessionUserId)
{
if (m_userIdPhoneCodeHashMap.TryGetValue(sessionUserId, out var result))
{
return result;
}
return null;
}
}
}
@@ -0,0 +1,54 @@
#region Disclaimer / License
// Copyright (C) 2015, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
#endregion
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FTP")]
[assembly: AssemblyDescription("A FTP backend for Duplicati")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Duplicati Team")]
[assembly: AssemblyProduct("Duplicati.Backend.FTP")]
[assembly: AssemblyCopyright("LGPL, Copyright © Duplicati Team 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("afa68988-4d82-490e-8044-acbc7d52ef4f")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.7")]
[assembly: AssemblyFileVersion("2.0.0.7")]
@@ -0,0 +1,17 @@
using System;
using Duplicati.Library.Localization.Short;
using System.Collections.Generic;
namespace Duplicati.Library.Backend.Strings {
internal static class TelegramBackend {
public static string Description { get { return LC.L(@"This backend can read and write data to a Telegram backend."); } }
public static string DisplayName { get { return LC.L(@"Telegram"); } }
public static string ListVerifyFailure(string filename, IEnumerable<string> files) { return LC.L(@"The file {0} was uploaded but not found afterwards, the file listing returned {1}", filename, string.Join(Environment.NewLine, files)); }
public static string ListVerifySizeFailure(string filename, long actualsize, long expectedsize) { return LC.L(@"The file {0} was uploaded but the returned size was {1} and it was expected to be {2}", filename, actualsize, expectedsize); }
public static string DescriptionDisableUploadVerifyShort { get { return LC.L(@"Disable upload verification"); } }
public static string DescriptionDisableUploadVerifyLong { get { return LC.L(@"To protect against network failures, every upload will be attempted verified. Use this option to disable this verification to make the upload faster but less reliable."); } }
public static string NoApiIdError { get { return LC.L(@"The API ID is missing."); } }
public static string NoApiHashError { get { return LC.L(@"The API hash is missing."); } }
public static string NoPhoneNumberError { get { return LC.L(@"The phone number is missing."); } }
}
}
@@ -0,0 +1,122 @@
#region Disclaimer / License
// Copyright (C) 2015, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
#endregion
using Duplicati.Library.Interface;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using TLSharp.Core;
namespace Duplicati.Library.Backend
{
// ReSharper disable once UnusedMember.Global
// This class is instantiated dynamically in the BackendLoader.
public class Telegram : IBackend
{
private static readonly InMemorySessionStore m_sessionStore = new InMemorySessionStore();
private readonly int m_apiId;
private readonly string m_apiHash;
private readonly string m_phoneNumber;
private string m_authCode;
private string m_password;
public Telegram()
{
Console.WriteLine("Welcome to Telegram parameterless");
}
// ReSharper disable once UnusedParameter.Local
// ToDo remove url if not needed
public Telegram(string url, Dictionary<string, string> options)
{
Console.WriteLine("Welcome to Telegram");
if (options.TryGetValue("api_id", out var apiId))
m_apiId = int.Parse(apiId);
if (options.TryGetValue("api_hash", out var apiHash))
m_apiHash = apiHash;
if (options.TryGetValue("phone_number", out var phoneNumber))
m_phoneNumber = phoneNumber;
if (options.TryGetValue("auth_code", out var authCode))
m_authCode = authCode;
if (options.TryGetValue("password", out var password))
m_password = password;
if (m_apiId == 0)
throw new UserInformationException(Strings.TelegramBackend.NoApiIdError, "NoApiIdError");
if (string.IsNullOrEmpty(m_apiHash))
throw new UserInformationException(Strings.TelegramBackend.NoApiHashError, "NoApiHashError");
if (string.IsNullOrEmpty(m_phoneNumber))
throw new UserInformationException(Strings.TelegramBackend.NoPhoneNumberError, "NoPhoneNumberError");
}
public void Dispose()
{ }
public string DisplayName { get; } = "Telegram";
public string ProtocolKey { get; } = "https";
public IEnumerable<IFileEntry> List()
{
throw new NotImplementedException();
}
public Task PutAsync(string remotename, string filename, CancellationToken cancelToken)
{
throw new NotImplementedException();
}
public void Get(string remotename, string filename)
{
throw new NotImplementedException();
}
public void Delete(string remotename)
{
throw new NotImplementedException();
}
public IList<ICommandLineArgument> SupportedCommands { get; }
public string Description { get; } = Strings.TelegramBackend.Description;
public string[] DNSName { get; }
public void Test()
{
throw new NotImplementedException();
}
public void CreateFolder()
{
throw new NotImplementedException();
}
}
}
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1"/>
</startup>
</configuration>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net471" />
<package id="System.Net.Requests" version="4.3.0" targetFramework="net471" />
<package id="TLSharp" version="0.1.0.555" targetFramework="net471" />
</packages>
+4
View File
@@ -207,6 +207,10 @@
<Project>{ae035e01-c917-4f13-a35e-78f21c1a2f17}</Project>
<Name>Duplicati.Library.Backend.Tardigrade</Name>
</ProjectReference>
<ProjectReference Include="..\Library\Backend\Telegram\Duplicati.Library.Backend.Telegram.csproj">
<Project>{f61679a9-e5de-468a-b5a4-05f92d0143d2}</Project>
<Name>Duplicati.Library.Backend.Telegram</Name>
</ProjectReference>
<ProjectReference Include="..\Library\Backend\TencentCOS\Duplicati.Library.Backend.TencentCOS.csproj">
<Project>{545dd6d4-9476-42d6-b51c-a28e000c489e}</Project>
<Name>Duplicati.Library.Backend.TencentCOS</Name>
+69
View File
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{F83A537E-895A-496B-AA5F-693E0F9BAE4B}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TelegramTest</RootNamespace>
<AssemblyName>TelegramTest</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed">
<HintPath>..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="TeleSharp.TL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\TLSharp.0.1.0.555\lib\net46\TeleSharp.TL.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="TLSharp.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\TLSharp.0.1.0.555\lib\net46\TLSharp.Core.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>