## ProjectServerManager.GetProjectRawData method

Hämtar projektets binära data för felsökningsändamål.

```csharp
public Stream GetProjectRawData(Guid projectGuid)
```

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| projectGuid | Guid | Projektets guide att läsa. |

### Returvärde

Ström som innehåller råprojektets data.

### Exempel

```csharp
In this example the debug info for the specific project is retrieved. You can pass the resulting "debug.zip" to the support team for troubleshooting purposes.
[C#]
var credentials = new ProjectServerCredentials("https://xxxxxx.sharepoint.com", "yyyyy@xxxxxxxx.onmicrosoft.com", "lösenord");
// Guide för projektet du försöker få.
var projectGuid = new Guid("e0294bfb-5657-45c8-9cc5-82169fb95d69");
ProjectServerManager manager = new ProjectServerManager(credentials);
using (var fileStream = File.OpenWrite(@"c:\debug.zip"))
{
    using (var stream = manager.GetProjectRawData(projectGuid))
    {
        stream.CopyTo(fileStream);
    }
}
```

### Se även

* class [ProjectServerManager](../)
* namnutrymme [Aspose.Tasks](../../projectservermanager/)
* hopsättning [Aspose.Tasks](../../../)


