3D dosyasının biçimini C# .NET olarak algılayın

Detect Format rorogramming ample ample

Aşağıdaki C# örnek kodu, 3D dosyasının dosya biçimini (dosya yolunu veya akışını kullanarak) nasıl tespit edeceğinizi ve uzantısını kontrol edeceğinizi gösterir.

// For complete examples and data files, please go to https://github.com/aspose-3d/Aspose.3D-for-.NET
// Detect the format of a 3D file
FileFormat inputFormat = FileFormat.Detect("document.fbx");
// Display the file format
Console.WriteLine("File Format: " + inputFormat.ToString());