{"action":"created","issue":{"url":"https://api.github.com/repos/digipost/digipost-api-client-dotnet/issues/34","labels_url":"https://api.github.com/repos/digipost/digipost-api-client-dotnet/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/digipost/digipost-api-client-dotnet/issues/34/comments","events_url":"https://api.github.com/repos/digipost/digipost-api-client-dotnet/issues/34/events","html_url":"https://github.com/digipost/digipost-api-client-dotnet/pull/34","id":78461643,"number":34,"title":"Fetching assemblyversion and adding it to header","user":{"login":"kristianenge","id":3032364,"avatar_url":"https://avatars.githubusercontent.com/u/3032364?v=3","gravatar_id":"","url":"https://api.github.com/users/kristianenge","html_url":"https://github.com/kristianenge","followers_url":"https://api.github.com/users/kristianenge/followers","following_url":"https://api.github.com/users/kristianenge/following{/other_user}","gists_url":"https://api.github.com/users/kristianenge/gists{/gist_id}","starred_url":"https://api.github.com/users/kristianenge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristianenge/subscriptions","organizations_url":"https://api.github.com/users/kristianenge/orgs","repos_url":"https://api.github.com/users/kristianenge/repos","events_url":"https://api.github.com/users/kristianenge/events{/privacy}","received_events_url":"https://api.github.com/users/kristianenge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"asjafjell","id":720545,"avatar_url":"https://avatars.githubusercontent.com/u/720545?v=3","gravatar_id":"","url":"https://api.github.com/users/asjafjell","html_url":"https://github.com/asjafjell","followers_url":"https://api.github.com/users/asjafjell/followers","following_url":"https://api.github.com/users/asjafjell/following{/other_user}","gists_url":"https://api.github.com/users/asjafjell/gists{/gist_id}","starred_url":"https://api.github.com/users/asjafjell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asjafjell/subscriptions","organizations_url":"https://api.github.com/users/asjafjell/orgs","repos_url":"https://api.github.com/users/asjafjell/repos","events_url":"https://api.github.com/users/asjafjell/events{/privacy}","received_events_url":"https://api.github.com/users/asjafjell/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-20T10:09:10Z","updated_at":"2015-05-20T15:48:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/digipost/digipost-api-client-dotnet/pulls/34","html_url":"https://github.com/digipost/digipost-api-client-dotnet/pull/34","diff_url":"https://github.com/digipost/digipost-api-client-dotnet/pull/34.diff","patch_url":"https://github.com/digipost/digipost-api-client-dotnet/pull/34.patch"},"body":"Se over denne Aleksander. Er det et annet nummer vi burde sende med i header?"},"comment":{"url":"https://api.github.com/repos/digipost/digipost-api-client-dotnet/issues/comments/103934017","html_url":"https://github.com/digipost/digipost-api-client-dotnet/pull/34#issuecomment-103934017","issue_url":"https://api.github.com/repos/digipost/digipost-api-client-dotnet/issues/34","id":103934017,"user":{"login":"asjafjell","id":720545,"avatar_url":"https://avatars.githubusercontent.com/u/720545?v=3","gravatar_id":"","url":"https://api.github.com/users/asjafjell","html_url":"https://github.com/asjafjell","followers_url":"https://api.github.com/users/asjafjell/followers","following_url":"https://api.github.com/users/asjafjell/following{/other_user}","gists_url":"https://api.github.com/users/asjafjell/gists{/gist_id}","starred_url":"https://api.github.com/users/asjafjell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asjafjell/subscriptions","organizations_url":"https://api.github.com/users/asjafjell/orgs","repos_url":"https://api.github.com/users/asjafjell/repos","events_url":"https://api.github.com/users/asjafjell/events{/privacy}","received_events_url":"https://api.github.com/users/asjafjell/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T15:48:01Z","updated_at":"2015-05-20T15:48:01Z","body":"Bra spotta at vi trenger det. Har helt glemt det av selv. Det er ønskelig at det er på formatet Digipost-Api/{assemblyVersion} .NET/{.NET-versjon}. Legger det selv inn på SDP og OT, så slenger bare med koden her, så kan du fikse det.\r\n```\r\n string netVersion = Assembly\r\n                     .GetExecutingAssembly()\r\n                     .GetReferencedAssemblies()\r\n                     .Where(x => x.Name == \"System.Core\").First().Version.ToString();\r\n\r\n            var assemblyVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;\r\n```"}}